@charset "UTF-8";
:root {
  color-scheme: dark;
  --theme-font: "Liberation Mono", monospace;
  --theme-surface: #000;
  --theme-raised: #111;
  --theme-hover: #1d1d1d;
  --theme-border: #363636;
  --theme-text: #d4d1cd;
  --theme-muted: #a6a3a0;
  --theme-link: #0085ff;
  --theme-link-hover: #7ab0ff;
  --theme-blue-button: #005fba;
  --theme-accent-bg: #0b223a;
  --theme-success: #8ec07c;
  --theme-success-bg: #213b25;
  --theme-success-diff: #14291a;
  --theme-danger: #ff8182;
  --theme-danger-bg: #432325;
  --theme-danger-diff: #30191a;
  --theme-warning: #fabd2f;
  --theme-warning-bg: #392c0c; }

body {
  background: var(--theme-surface);
  color: var(--theme-text); }

a:hover {
  color: var(--theme-link-hover); }

.hl_table *,
.hl_code {
  font-family: var(--theme-font);
  font-size: 12px; }

body,
html,
* {
  font-family: var(--theme-font);
  line-height: 1.5em;
  padding: 0;
  margin: 0; }

body {
  font-size: 14px;
  min-width: 300px; }

a {
  color: var(--theme-link);
  font-size: 14px;
  text-decoration: none; }

h2 {
  padding: 10px; }

code {
  background-color: var(--theme-raised); }

.form-error {
  color: var(--theme-danger); }

pre > code {
  background-color: var(--theme-raised);
  display: block; }

.no_select {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

.content {
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 200px;
  min-height: calc(100vh - 300px); }

.clone-status {
  margin-top: 25%;
  text-align: center; }
  .clone-status img {
    margin-top: 10px; }

.clone-status--failed {
  margin: 90px auto 0;
  max-width: 700px;
  padding: 0 14px; }
  .clone-status--failed h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 12px;
    padding: 0; }
  .clone-status--failed p {
    color: var(--theme-muted);
    font-size: 15px; }

.clone-status-button {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 14px;
  border-radius: 3px;
  background: #1f883d;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600; }
  .clone-status-button:hover {
    background: #116329;
    color: #ffffff; }

.clone-status-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px; }
  .clone-status-actions .clone-status-button {
    margin-top: 0; }

.clone-status-button--secondary {
  background: var(--theme-surface);
  border: 1px solid var(--theme-link);
  color: var(--theme-link); }
  .clone-status-button--secondary:hover {
    background: var(--theme-blue-button);
    border-color: var(--theme-link);
    color: #ffffff; }

.clone-status-button--usdt {
  background: #26a17b;
  border: 1px solid #26a17b; }
  .clone-status-button--usdt:hover {
    background: #1d7f61;
    border-color: #1d7f61; }

.clone-status-url {
  color: var(--theme-muted);
  margin: 10px auto 0;
  overflow-wrap: anywhere;
  padding: 0 10px; }
  .clone-status-url code {
    border-radius: 3px;
    padding: 2px 5px; }

.clone-status-log {
  margin: 20px auto 0;
  max-width: 720px;
  padding: 12px 16px;
  background: var(--theme-raised);
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  color: var(--theme-muted);
  font-family: var(--theme-font);
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word; }

#top_right_div {
  float: right;
  display: flex;
  align-items: center;
  height: 50px; }

.search-input {
  display: inline-block;
  background-color: var(--theme-surface);
  color: #fff;
  margin-right: 30px; }

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6); }

.user {
  display: inline-block;
  position: relative;
  padding-right: 10px; }

.user:focus {
  outline: none; }

.user:hover .header-dropdown,
.header-dropdown:hover,
.user:focus .header-dropdown {
  z-index: 10;
  transform: scale(1) translateY(0px);
  opacity: 1;
  pointer-events: all; }

.user .header-dropdown * {
  z-index: 10;
  position: relative; }

.user .header-dropdown .dropdown-hoverzone {
  z-index: 5;
  position: absolute;
  top: -54px;
  height: calc(100% + 54px + 4px);
  width: calc(100% + 8px);
  right: -4px; }

.user .header-dropdown {
  position: absolute;
  color: var(--theme-text);
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  background: var(--theme-surface);
  right: 4px;
  top: 54px;
  min-width: 145px;
  transform: scale(0.95) translateY(-3px);
  opacity: 0;
  transform-origin: top;
  pointer-events: none;
  transition: transform 0.1s, opacity 0.1s; }

.user .header-dropdown .username {
  padding: 6px 12px; }
  .user .header-dropdown .username span {
    opacity: 0.9;
    font-size: 13px; }
  .user .header-dropdown .username a {
    display: block;
    padding: 0px;
    font-size: 17px;
    line-height: 1;
    color: var(--theme-text); }

.user .header-dropdown .links {
  border-top: 1px solid var(--theme-border);
  padding: 4px 0px; }

.user .header-dropdown .links a {
  padding: 3px 12px;
  display: block;
  background-color: var(--theme-surface);
  color: var(--theme-text);
  transition: background-color 0.07s, color 0.07s; }

.user .header-dropdown .link:hover {
  color: #ffffff;
  background-color: #1a7be9; }

.avatar {
  height: 40px;
  width: 40px;
  text-align: center;
  border-radius: 100%;
  border: 1px solid var(--theme-border);
  background-color: var(--theme-surface);
  margin-top: 5px;
  overflow: hidden;
  z-index: 15;
  cursor: pointer; }
  .avatar span {
    line-height: 40px;
    font-size: 25px;
    margin: 0; }
  .avatar img {
    height: 40px;
    width: 40px;
    margin: 0;
    object-fit: cover; }

.new {
  margin-right: 20px; }

.new a {
  line-height: 50px;
  font-size: 16px !important;
  color: #ffffff; }

header .login-button {
  color: #ffffff;
  line-height: 50px; }

a.repo-author, a.repo-name {
  line-height: 50px;
  font-size: 20px !important;
  font-weight: 600; }

.repo-visibility {
  font-size: 12px;
  font-weight: 500;
  padding: 2px 10px;
  border: 1px solid var(--theme-border);
  border-radius: 2em;
  color: var(--theme-muted);
  background-color: var(--theme-surface);
  line-height: 1.6;
  margin-left: 8px;
  vertical-align: middle; }

.repo-visibility--private {
  color: var(--theme-warning);
  border-color: #d4a72c;
  background-color: var(--theme-warning-bg); }

.slash {
  display: inline;
  line-height: 50px;
  font-size: 16px !important;
  color: var(--theme-text); }

header {
  background-color: var(--theme-surface);
  height: 50px;
  color: white; }

footer {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--theme-muted);
  margin-bottom: 30px; }

footer a {
  color: var(--theme-muted);
  text-decoration: underline; }

#mainlogo {
  line-height: 50px;
  font-size: 20px !important;
  margin-left: 10px;
  float: left;
  color: white; }

@media (max-width: 640px) {
  header {
    height: auto;
    padding: 0 10px 10px;
    border-bottom: 1px solid var(--theme-border); }
  #mainlogo {
    display: block;
    float: none;
    margin-left: 0;
    line-height: 40px; }
  #top_right_div {
    float: none;
    height: auto;
    flex-wrap: wrap;
    gap: 8px 12px; }
    #top_right_div > form {
      order: 1;
      flex: 0 0 100%; }
    #top_right_div .lang_select,
    #top_right_div .new,
    #top_right_div .search-input {
      margin-right: 0; }
    #top_right_div .new a,
    #top_right_div .login-button {
      line-height: 30px; }
    #top_right_div .search-input {
      box-sizing: border-box;
      width: 100%; } }

textarea,
input {
  background: none;
  color: var(--theme-text);
  border: 1px solid var(--theme-border);
  padding: 5px 8px;
  border-radius: 3px;
  transition: border-color 0.07s; }

textarea:focus,
input:focus {
  outline: none;
  border: 1px solid #4392eb; }

.button,
button,
input[type="submit"] {
  cursor: pointer;
  background: none;
  color: var(--theme-text);
  border: 1px solid var(--theme-border);
  padding: 5px 8px;
  border-radius: 3px;
  transition: background-color 0.07s, border-color 0.07s, color 0.07s;
  width: 50% !important; }

.button:hover,
button:hover,
input[type="submit"]:hover {
  border: 1px solid var(--theme-link);
  background-color: #1a7be9;
  color: #ffffff; }

.button.disabled,
button.disabled,
input[type="submit"].disabled,
button:disabled,
input[type="submit"]:disabled {
  color: var(--theme-muted);
  border: 1px solid var(--theme-raised);
  pointer-events: none; }

form.vertical-form * {
  display: block;
  margin-bottom: 5px; }

form.vertical-form *:last-child {
  margin-bottom: 0px; }

form .field {
  margin-top: 10px; }

form input[type="submit"] {
  margin-top: 10px; }

.form {
  max-width: 400px; }
  .form input:not([type="checkbox"]):not([type="radio"]) {
    box-sizing: border-box;
    width: 100%; }
  .form textarea {
    box-sizing: border-box;
    width: 100%; }

.github-auth {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 14px;
  background-color: var(--theme-surface);
  color: #ffffff !important;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.07s; }

.github-auth:hover {
  background-color: #1a7be9; }

.block {
  margin: auto;
  max-width: 700px;
  padding: 20px 10px 0; }

.list {
  margin-left: 20px; }

.home {
  color: var(--theme-text);
  background: var(--theme-surface); }

.home-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-right: 10px;
  padding-left: 10px; }

.home-intro {
  border-bottom: 1px solid var(--theme-border);
  background: var(--theme-raised); }

.home-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 64px;
  padding-top: 54px;
  padding-bottom: 54px; }

.home-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--theme-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase; }

.home-intro h1 {
  max-width: 560px;
  padding: 0;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15; }

.home-intro__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin-top: 17px;
  color: var(--theme-muted);
  font-size: 15px; }

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px; }

.home .home-button {
  display: inline-block;
  box-sizing: border-box;
  width: auto !important;
  padding: 7px 13px;
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  background: var(--theme-surface);
  color: var(--theme-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none; }

.home .home-button:hover {
  border-color: var(--theme-muted);
  background: var(--theme-hover);
  color: var(--theme-text); }

.home .home-button--primary {
  border-color: rgba(27, 31, 36, 0.15);
  background: #1f883d;
  color: #ffffff; }

.home .home-button--primary:hover {
  border-color: rgba(27, 31, 36, 0.15);
  background: #1a7f37;
  color: #ffffff; }

.home a:focus-visible,
.home-table-wrap:focus-visible {
  outline: 2px solid var(--theme-link);
  outline-offset: 2px; }

.home-feature-list {
  padding-left: 32px;
  border-left: 1px solid var(--theme-border); }

.home-feature-list h2 {
  padding: 0;
  font-size: 17px;
  font-weight: 600; }

.home-feature-list ul {
  margin-top: 14px;
  list-style: none; }

.home-feature-list li {
  position: relative;
  margin-top: 7px;
  padding-left: 19px;
  font-size: 13px;
  line-height: 1.4; }

.home-feature-list li::before {
  position: absolute;
  left: 0;
  color: var(--theme-success);
  font-weight: 700;
  content: "✓"; }

.home-comparison {
  padding: 50px 0 56px; }

.home-comparison h2 {
  margin-bottom: 4px;
  padding: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.015em; }

.home-comparison__updated {
  margin-bottom: 16px;
  color: var(--theme-muted);
  font-size: 12px; }

.home-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--theme-border);
  -webkit-overflow-scrolling: touch; }

.table-features {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  background: var(--theme-surface); }

.table-features th,
.table-features td {
  padding: 8px 10px;
  border-right: 1px solid var(--theme-border);
  border-bottom: 1px solid var(--theme-border);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  vertical-align: top; }

.table-features tr > :first-child {
  width: 32%;
  text-align: left; }

.table-features tr > :last-child {
  border-right: 0; }

.table-features tbody tr:last-child > * {
  border-bottom: 0; }

.table-features thead {
  background: var(--theme-raised); }

.table-features thead th {
  font-weight: 600;
  vertical-align: middle; }

.table-features tbody th {
  font-weight: 500; }

.table-features tr:not(.table-features__group) > :nth-child(4) {
  background: var(--theme-success-bg); }

.table-features thead tr > :nth-child(4) {
  color: var(--theme-success); }

.table-features .table-features__group th {
  width: auto;
  padding: 7px 10px;
  background: var(--theme-hover);
  color: var(--theme-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase; }

.table-features a {
  font-size: inherit; }

.home-showcase {
  padding: 44px 0 64px;
  border-top: 1px solid var(--theme-border);
  background: var(--theme-raised); }

.home-showcase p {
  margin-bottom: 17px;
  font-size: 15px; }

.home-screenshot-link {
  display: block;
  border: 1px solid #c9d1d9;
  background: var(--theme-surface); }

.gitly-screenshot {
  display: block;
  width: 100%;
  height: auto; }

@media (max-width: 760px) {
  .home-intro__layout {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 38px;
    padding-bottom: 40px; }
  .home-intro h1 {
    font-size: 34px; }
  .home-feature-list {
    padding-top: 26px;
    padding-left: 0;
    border-top: 1px solid var(--theme-border);
    border-left: 0; }
  .home-comparison {
    padding-top: 38px;
    padding-bottom: 42px; }
  .home-showcase {
    padding-top: 36px;
    padding-bottom: 46px; } }

@media (max-width: 480px) {
  .home-intro__summary span[aria-hidden="true"] {
    display: none; }
  .home-intro__summary {
    flex-direction: column;
    gap: 3px; }
  .home .home-button {
    flex: 1 1 auto;
    text-align: center; } }

.pricing-page {
  margin-bottom: 90px; }

.pricing-hero {
  padding: 48px 10px 26px;
  text-align: center; }
  .pricing-hero h1 {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 10px;
    padding: 0; }
  .pricing-hero p {
    color: var(--theme-muted);
    font-size: 16px;
    margin: 0 auto;
    max-width: 620px; }

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 10px; }
  @media (max-width: 1000px) {
    .pricing-plans {
      grid-template-columns: 1fr; } }
.pricing-plan {
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  background: var(--theme-surface);
  padding: 22px; }
  .pricing-plan h2 {
    font-size: 24px;
    line-height: 1.2;
    padding: 0;
    margin: 6px 0 8px; }

.pricing-plan--featured {
  border-color: #1f883d;
  box-shadow: 0 1px 5px rgba(31, 136, 61, 0.14); }

.pricing-plan__eyebrow {
  color: #c5a3ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase; }

.pricing-plan__desc {
  color: var(--theme-muted);
  min-height: 44px; }

.pricing-plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0; }
  .pricing-plan__price span {
    font-size: 32px;
    font-weight: 700;
    line-height: 1; }
  .pricing-plan__price small {
    color: var(--theme-muted);
    font-size: 14px; }

.pricing-plan__button {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #1f883d;
  border-radius: 3px;
  background: #1f883d;
  color: #ffffff;
  font-weight: 700;
  text-align: center; }
  .pricing-plan__button:hover {
    background: #116329;
    border-color: #116329;
    color: #ffffff; }

.pricing-plan__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px; }

.pricing-plan__button--secondary {
  background: var(--theme-blue-button);
  border-color: var(--theme-link); }
  .pricing-plan__button--secondary:hover {
    background: var(--theme-blue-button);
    border-color: var(--theme-link); }

.pricing-plan__button--usdt {
  background: #26a17b;
  border-color: #26a17b; }
  .pricing-plan__button--usdt:hover {
    background: #1d7f61;
    border-color: #1d7f61; }

.pricing-plan__features {
  margin: 18px 0 0 18px; }
  .pricing-plan__features li {
    margin-top: 8px; }

.pricing-note {
  margin: 24px 10px 0;
  padding-top: 18px;
  border-top: 1px solid var(--theme-border); }
  .pricing-note h2 {
    font-size: 20px;
    line-height: 1.2;
    padding: 0;
    margin-bottom: 8px; }
  .pricing-note p {
    color: var(--theme-muted); }

.pricing-note--usdt code {
  display: inline-block;
  max-width: 100%;
  padding: 3px 6px;
  border-radius: 3px;
  background: var(--theme-raised);
  overflow-wrap: anywhere; }

@keyframes alert-show {
  0% {
    right: -100px; }
  100% {
    right: 20px; } }

.alert {
  position: absolute;
  top: 60px;
  right: 20px;
  padding: 20px;
  background-color: #d94338;
  color: #fff;
  cursor: pointer;
  border-radius: 3px;
  animation-name: alert-show;
  animation-duration: 1s; }

.list-item {
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  padding: 5px 0 5px 10px;
  margin-top: 10px;
  width: 100%; }

.repos-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 20px; }
  .repos-header .avatar {
    margin-top: 0;
    flex-shrink: 0; }
  .repos-header h1 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2; }

.repo-table-wrap {
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  background-color: var(--theme-surface);
  overflow-x: auto; }

.repo-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  color: var(--theme-text); }

.repo-table th {
  padding: 10px 16px;
  border-bottom: 1px solid var(--theme-border);
  background-color: var(--theme-raised);
  color: var(--theme-muted);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap; }

.repo-table th a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--theme-muted); }
  .repo-table th a:hover {
    color: var(--theme-link);
    text-decoration: none; }

.repo-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--theme-raised);
  font-size: 13px;
  vertical-align: top; }

.repo-table tbody tr:first-child td {
  border-top: 0; }

.repo-table tbody tr:hover {
  background-color: var(--theme-raised); }

.repo-table__col-name {
  width: 50%; }

.repo-table__col-number {
  width: 7%;
  text-align: right !important; }

.repo-table__col-date {
  width: 14%; }

.repo-table__repo-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0; }

.repo-table__repo-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--theme-link); }
  .repo-table__repo-name:hover {
    text-decoration: underline; }

.repo-table__badge {
  font-size: 11px;
  font-weight: 500;
  padding: 1px 8px;
  border: 1px solid var(--theme-border);
  border-radius: 2em;
  color: var(--theme-muted);
  background-color: var(--theme-surface);
  line-height: 1.6; }

.repo-table__badge--private {
  color: var(--theme-warning);
  border-color: #d4a72c;
  background-color: var(--theme-warning-bg); }

.repo-table__desc {
  margin: 4px 0 0;
  color: var(--theme-muted);
  font-size: 13px;
  line-height: 1.4; }

.repo-table__number {
  font-variant-numeric: tabular-nums;
  text-align: right; }

.repo-table__date {
  color: var(--theme-muted);
  white-space: nowrap; }

.repo-table__muted {
  color: var(--theme-muted); }

.repo-table__sort {
  min-width: 12px;
  color: var(--theme-muted);
  font-size: 12px;
  line-height: 1; }

.repos-empty {
  color: var(--theme-muted);
  margin: 30px 0;
  font-size: 15px; }

.settings-title {
  font-size: 24px;
  margin: 24px 0 18px;
  padding: 0; }

.settings-section {
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  padding: 18px 20px;
  margin-bottom: 18px;
  background-color: var(--theme-surface); }

.fork-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem; }
  .fork-summary form {
    margin: 0; }

.settings-section__title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
  padding: 0; }

.settings-section__desc {
  margin: 0 0 14px;
  color: var(--theme-muted);
  font-size: 13px; }

.settings-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center; }
  .settings-form input[type="text"],
  .settings-form input[type="password"] {
    flex: 1;
    min-width: 200px;
    box-sizing: border-box; }
    .settings-form input[type="text"]::placeholder,
    .settings-form input[type="password"]::placeholder {
      color: var(--theme-muted); }
  .settings-form .settings-form__submit {
    width: auto !important;
    flex-shrink: 0;
    padding: 6px 14px; }

.features-form {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px; }

.image-settings {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px; }
  .image-settings form + form {
    margin-top: 8px; }
  .image-settings input[type="file"] {
    max-width: 100%; }

.image-settings__preview {
  flex-shrink: 0;
  object-fit: contain; }

.image-settings__preview--round {
  border-radius: 50%;
  object-fit: cover; }

.general-settings-form {
  flex-direction: column;
  align-items: stretch; }
  .general-settings-form label {
    font-size: 13px;
    font-weight: 600; }
  .general-settings-form textarea,
  .general-settings-form select,
  .general-settings-form input[type="text"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 680px; }
  .general-settings-form .settings-form__submit {
    align-self: flex-start; }

.features-form__option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer; }
  .features-form__option input[type="checkbox"] {
    margin: 0;
    cursor: pointer; }

.settings-form__submit--danger {
  color: var(--theme-danger) !important;
  border-color: rgba(207, 34, 46, 0.4) !important; }
  .settings-form__submit--danger:hover:not(:disabled) {
    color: #ffffff !important;
    background-color: #cf222e !important;
    border-color: #cf222e !important; }
  .settings-form__submit--danger:disabled {
    color: rgba(207, 34, 46, 0.5) !important;
    border-color: rgba(207, 34, 46, 0.2) !important;
    background-color: transparent !important;
    cursor: not-allowed; }

.settings-section--danger {
  border-color: rgba(207, 34, 46, 0.4); }
  .settings-section--danger .settings-section__title {
    color: var(--theme-danger); }

.danger-action {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid rgba(207, 34, 46, 0.2); }
  .danger-action:first-of-type {
    border-top: none;
    padding-top: 4px; }
  .danger-action:last-of-type {
    padding-bottom: 0; }

.danger-action__info {
  flex: 1;
  min-width: 220px; }

.danger-action__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 2px;
  padding: 0; }

.danger-action__desc {
  margin: 0;
  color: var(--theme-muted);
  font-size: 13px; }

.danger-action__form {
  flex: 1;
  min-width: 280px; }

.confirm-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 17, 21, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px; }
  .confirm-modal[hidden] {
    display: none; }

.confirm-modal__dialog {
  background-color: #cf222e;
  color: #ffffff;
  border-radius: 3px;
  max-width: 480px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4); }

.confirm-modal__alert {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35; }

.confirm-modal__intro,
.confirm-modal__outro,
.confirm-modal__question {
  margin: 0 0 10px;
  font-size: 14px;
  color: #ffffff; }

.confirm-modal__question {
  margin-top: 16px;
  font-weight: 600; }

.confirm-modal__stats {
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: 14px;
  color: #ffffff; }
  .confirm-modal__stats li {
    margin: 2px 0; }

.confirm-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px; }

.confirm-modal__btn {
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  border: 1px solid var(--theme-muted);
  background-color: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.12s, color 0.12s; }
  .confirm-modal__btn:hover {
    background-color: var(--theme-surface);
    color: var(--theme-danger); }

.confirm-modal__btn--danger {
  background-color: var(--theme-surface);
  color: var(--theme-danger);
  border-color: var(--theme-surface); }
  .confirm-modal__btn--danger:hover {
    background-color: #b51d28;
    color: #ffffff;
    border-color: var(--theme-surface); }

.new-repo {
  max-width: 640px; }

.new-repo__header {
  margin: 24px 0 24px; }
  .new-repo__header h1 {
    font-size: 24px;
    margin: 0 0 4px;
    padding: 0; }

.new-repo__subtitle {
  margin: 0;
  color: var(--theme-muted);
  font-size: 13px; }

.new-repo__form {
  display: flex;
  flex-direction: column;
  gap: 18px; }

.new-repo__field {
  display: flex;
  flex-direction: column;
  gap: 6px; }
  .new-repo__field input[type="text"] {
    box-sizing: border-box;
    width: 100%;
    padding: 7px 10px;
    font-size: 14px; }

.new-repo__field--inline {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px; }

.new-repo__label {
  font-weight: 600;
  font-size: 13px;
  margin: 0;
  padding: 0;
  color: var(--theme-text); }

.new-repo__req {
  color: var(--theme-danger);
  margin-left: 2px; }

.new-repo__optional {
  color: var(--theme-muted);
  font-weight: normal;
  font-style: italic;
  margin-left: 4px; }

.new-repo__name-row {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.07s; }
  .new-repo__name-row:focus-within {
    border-color: #4392eb; }

.new-repo__owner-row {
  display: flex;
  align-items: flex-end;
  gap: 8px; }

.new-repo__field--owner {
  flex: 0 0 auto;
  min-width: 180px; }

.new-repo__field--name {
  flex: 1 1 auto; }

.new-repo__owner-select {
  box-sizing: border-box;
  width: 100%;
  padding: 7px 10px;
  font-size: 14px;
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  background-color: var(--theme-surface); }
  .new-repo__owner-select:focus {
    border-color: #4392eb;
    outline: none; }

.new-repo__owner-slash {
  font-size: 20px;
  color: var(--theme-muted);
  padding-bottom: 4px; }

.new-repo__name-input--standalone {
  border: 1px solid var(--theme-border);
  border-radius: 3px; }

.new-repo__owner {
  background-color: var(--theme-raised);
  color: var(--theme-muted);
  padding: 7px 10px;
  border-right: 1px solid var(--theme-border);
  font-size: 14px;
  white-space: nowrap;
  display: flex;
  align-items: center; }

.new-repo__name-input {
  flex: 1;
  border: none !important;
  border-radius: 0 !important;
  padding: 7px 10px !important; }
  .new-repo__name-input:focus {
    border: none !important;
    outline: none; }

.new-repo__hint {
  margin: 0;
  color: var(--theme-muted);
  font-size: 12px; }

.new-repo__checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px; }
  .new-repo__checkbox input[type="checkbox"] {
    margin: 0; }

.new-repo__option {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.07s, background-color 0.07s;
  margin-top: 6px; }
  .new-repo__option:hover {
    border-color: #b8c7d8;
    background-color: var(--theme-raised); }
  .new-repo__option input[type="radio"] {
    margin-top: 3px; }

.new-repo__option-body {
  display: flex;
  flex-direction: column;
  gap: 2px; }

.new-repo__option-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--theme-text); }

.new-repo__option-desc {
  color: var(--theme-muted);
  font-size: 12px;
  line-height: 1.4; }

.new-repo__actions {
  padding-top: 18px;
  display: flex;
  justify-content: flex-start; }

.new-repo__submit {
  width: auto !important;
  padding: 7px 18px;
  background-color: #1f883d;
  color: #ffffff;
  border: 1px solid rgba(31, 136, 61, 0.6);
  font-weight: 500; }
  .new-repo__submit:hover {
    background-color: #1a7f37;
    border-color: rgba(27, 31, 36, 0.15);
    color: #ffffff; }

.new-org {
  max-width: 640px; }

.new-org__header {
  margin: 24px 0 24px;
  text-align: center; }
  .new-org__header h1 {
    font-size: 28px;
    margin: 0;
    padding: 0; }

.new-org__subtitle {
  margin: 0 0 4px;
  color: var(--theme-muted);
  font-size: 13px;
  font-family: var(--theme-font); }

.new-org__form {
  display: flex;
  flex-direction: column;
  gap: 22px; }

.new-org__field {
  display: flex;
  flex-direction: column;
  gap: 6px; }

.new-org__field--inline {
  gap: 0; }

.new-org__label {
  font-weight: 600;
  font-size: 14px;
  margin: 0;
  padding: 0;
  color: var(--theme-text); }

.new-org__req {
  color: var(--theme-danger);
  margin-left: 2px; }

.new-org__input {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  background-color: var(--theme-raised); }
  .new-org__input:focus {
    border-color: #4392eb;
    background-color: var(--theme-surface);
    outline: none; }

.new-org__hint {
  margin: 0;
  color: var(--theme-muted);
  font-size: 12px; }

.new-org__url-slot {
  font-weight: 600;
  color: var(--theme-text); }

.new-org__option {
  display: flex;
  gap: 10px;
  padding: 4px 0;
  cursor: pointer;
  align-items: flex-start; }
  .new-org__option input[type="radio"] {
    margin-top: 4px; }

.new-org__option-body {
  display: flex;
  flex-direction: column;
  gap: 2px; }

.new-org__option-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--theme-text); }

.new-org__option-desc {
  color: var(--theme-muted);
  font-size: 13px;
  line-height: 1.4; }

.new-org__checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5; }
  .new-org__checkbox input[type="checkbox"] {
    margin: 4px 0 0; }

.new-org__actions {
  padding-top: 6px;
  display: flex;
  justify-content: stretch; }

.new-org__submit {
  width: 100% !important;
  padding: 10px 18px;
  background-color: var(--theme-raised);
  color: var(--theme-muted);
  border: 1px solid rgba(31, 136, 61, 0.4);
  font-weight: 500;
  cursor: not-allowed; }
  .new-org__submit:not(:disabled) {
    background-color: #1f883d;
    border-color: rgba(31, 136, 61, 0.6);
    cursor: pointer; }
  .new-org__submit:not(:disabled):hover {
    background-color: #1a7f37;
    border-color: rgba(27, 31, 36, 0.15);
    color: #ffffff; }

.new-discussion {
  max-width: 720px; }

.new-discussion__header {
  margin: 24px 0 20px; }
  .new-discussion__header h1 {
    font-size: 24px;
    margin: 0;
    padding: 0; }

.new-discussion__form {
  display: flex;
  flex-direction: column;
  gap: 18px; }

.new-discussion__field {
  display: flex;
  flex-direction: column;
  gap: 6px; }

.new-discussion__label {
  font-weight: 600;
  font-size: 13px;
  margin: 0;
  padding: 0;
  color: var(--theme-text); }

.new-discussion__req {
  color: var(--theme-danger);
  margin-left: 2px; }

.new-discussion__title-input {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 12px;
  font-size: 15px; }

.new-discussion__textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--theme-font);
  line-height: 1.5;
  min-height: 180px;
  resize: vertical; }

.new-discussion__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.07s, background-color 0.07s;
  margin-top: 6px; }
  .new-discussion__option:hover {
    border-color: #b8c7d8;
    background-color: var(--theme-raised); }
  .new-discussion__option input[type="radio"] {
    margin: 0; }

.new-discussion__option-body {
  display: flex;
  flex-direction: column;
  gap: 2px; }

.new-discussion__option-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--theme-text); }

.new-discussion__actions {
  padding-top: 6px;
  display: flex;
  justify-content: flex-start; }

.new-discussion__submit {
  width: auto !important;
  padding: 7px 18px;
  background-color: #1f883d;
  color: #ffffff;
  border: 1px solid rgba(31, 136, 61, 0.6);
  font-weight: 500; }
  .new-discussion__submit:hover {
    background-color: #1a7f37;
    border-color: rgba(27, 31, 36, 0.15);
    color: #ffffff; }

.issues-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 16px; }
  .issues-header .issues-header__title {
    font-size: 22px;
    margin: 0;
    padding: 0; }

.issues-header__actions {
  display: flex;
  align-items: center;
  gap: 12px; }

.issues-header__milestones {
  color: var(--theme-muted);
  font-size: 13px;
  font-weight: 500; }
  .issues-header__milestones:hover {
    text-decoration: underline; }

.issues-header__new {
  background-color: #1f883d;
  color: #ffffff !important;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.07s; }
  .issues-header__new:hover {
    background-color: #1a7f37;
    text-decoration: none; }

.issues-empty {
  color: var(--theme-muted);
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  padding: 30px;
  text-align: center;
  background-color: var(--theme-raised); }

.issue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  overflow: hidden;
  background-color: var(--theme-surface); }

.issue-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--theme-border);
  transition: background-color 0.07s; }
  .issue-row:first-child {
    border-top: none; }
  .issue-row:hover {
    background-color: var(--theme-raised); }

.issue-row__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px; }

.issue-row__body {
  flex: 1;
  min-width: 0; }

.issue-row__title {
  font-weight: 600;
  font-size: 15px;
  color: var(--theme-text) !important;
  line-height: 1.4;
  display: inline; }
  .issue-row__title:hover {
    color: var(--theme-link) !important;
    text-decoration: none; }
  .issue-row__title code {
    font-family: var(--theme-font);
    font-size: 13px;
    background-color: rgba(175, 184, 193, 0.2);
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 500; }

.issue-row__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px; }

.issue-row__labels {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px; }

.issue-label {
  display: inline-block;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  border-radius: 10px;
  color: #fff;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.35);
  white-space: nowrap; }

.issue-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--theme-muted);
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.4; }

.issue-row__author {
  color: var(--theme-muted) !important;
  font-size: 12px !important; }
  .issue-row__author:hover {
    color: var(--theme-link) !important;
    text-decoration: underline; }

.issue-row__comments {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--theme-muted) !important;
  font-size: 12px !important;
  flex-shrink: 0;
  margin-top: 4px; }
  .issue-row__comments svg {
    width: 14px;
    height: 14px; }
  .issue-row__comments:hover {
    color: var(--theme-link) !important;
    text-decoration: none; }

.issue-pager {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--theme-muted); }

.issue-pager__btn {
  padding: 4px 12px;
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  color: var(--theme-link);
  background-color: var(--theme-surface); }
  .issue-pager__btn:hover {
    text-decoration: none;
    border-color: var(--theme-link); }

.issue-pager__btn--disabled {
  color: var(--theme-muted);
  pointer-events: none;
  background-color: var(--theme-raised); }

.issue-pager__info {
  color: var(--theme-muted); }

.issue-row__repo {
  color: var(--theme-link) !important;
  font-size: 12px !important; }
  .issue-row__repo:hover {
    text-decoration: underline; }

.user-issues-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  margin-top: 16px; }
  @media (max-width: 1000px) {
    .user-issues-layout {
      grid-template-columns: 1fr;
      gap: 12px; } }
.user-issues-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px; }

.user-issues-sidebar__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--theme-text);
  border-bottom: 1px solid var(--theme-border);
  margin-bottom: 8px; }

.user-issues-sidebar__heading-icon {
  width: 20px;
  height: 20px;
  color: var(--theme-text); }

.user-issues-sidebar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 3px;
  color: var(--theme-text) !important;
  font-size: 14px;
  transition: background-color 0.07s; }
  .user-issues-sidebar__item:hover {
    background-color: var(--theme-raised);
    text-decoration: none; }

.user-issues-sidebar__item--active {
  background-color: var(--theme-raised);
  font-weight: 600;
  box-shadow: inset 2px 0 0 var(--theme-link); }

.user-issues-sidebar__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--theme-muted); }

.user-issues-main {
  min-width: 0; }

.lang_select {
  margin-right: 16px;
  display: inline-flex; }

#select_lang {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  padding: 5px 26px 5px 10px;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23ffffff' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 9px 6px;
  transition: border-color 120ms ease, background-color 120ms ease; }
  #select_lang:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.06); }
  #select_lang:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6); }
  #select_lang option {
    color: var(--theme-text);
    background-color: var(--theme-surface); }

/* Pull request UI */
.pr-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--theme-border); }

.pr-tab {
  padding: 6px 14px;
  color: var(--theme-muted) !important;
  font-size: 13px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px; }
  .pr-tab:hover {
    color: var(--theme-link) !important;
    text-decoration: none; }

.pr-tab--active {
  color: var(--theme-text) !important;
  border-bottom-color: #fd8c73;
  font-weight: 600; }

.pr-status-badge {
  display: inline-block;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 2em;
  color: #fff;
  line-height: 1.6;
  text-transform: capitalize; }

.pr-status--open {
  background-color: #1f883d; }

.pr-status--closed {
  background-color: #cf222e; }

.pr-status--merged {
  background-color: #c5a3ff; }

.pr-header {
  border-bottom: 1px solid var(--theme-border);
  padding-bottom: 14px;
  margin: 20px 0 18px; }
  .pr-header .pr-header__title {
    font-size: 24px;
    margin: 0;
    padding: 0; }
  .pr-header .pr-header__num {
    color: var(--theme-muted);
    font-weight: 400; }
  .pr-header .pr-header__meta {
    margin-top: 6px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--theme-muted);
    font-size: 13px; }
    .pr-header .pr-header__meta code {
      background-color: rgba(175, 184, 193, 0.2);
      padding: 1px 6px;
      border-radius: 4px;
      font-size: 12px; }
  .pr-header .pr-header__actions {
    margin-top: 12px;
    display: flex;
    gap: 6px; }

.pr-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  color: var(--theme-link) !important;
  font-size: 13px;
  background: var(--theme-surface); }
  .pr-tab-link:hover {
    text-decoration: none;
    border-color: var(--theme-link); }

.pr-tab-link__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  padding: 0 6px;
  border-radius: 2em;
  background-color: var(--theme-hover);
  color: var(--theme-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45; }

.pr-tab-link--active {
  background-color: var(--theme-raised);
  color: var(--theme-text) !important;
  font-weight: 600; }

.pr-tab-link--info {
  color: var(--theme-muted) !important;
  cursor: default; }
  .pr-tab-link--info:hover {
    border-color: var(--theme-border); }

.pr-body {
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  padding: 12px 14px;
  margin-bottom: 14px; }

.pr-review-block {
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  padding: 12px 14px;
  margin-top: 14px;
  border-left-width: 4px; }

.pr-review--approved {
  border-left-color: #1f883d; }

.pr-review--changes {
  border-left-color: #cf222e; }

.pr-review--comment {
  border-left-color: var(--theme-border); }

.pr-review-header {
  display: flex;
  gap: 8px;
  align-items: center; }
  .pr-review-header img {
    height: 24px;
    width: 24px;
    border-radius: 100%; }

.pr-review-body {
  margin: 8px 0 0; }

.pr-review-comments {
  list-style: none;
  padding: 0;
  margin: 10px 0 0; }

.pr-review-comment {
  background-color: var(--theme-raised);
  border-radius: 3px;
  padding: 6px 10px;
  margin-bottom: 6px;
  font-size: 13px; }
  .pr-review-comment code {
    font-size: 12px; }
  .pr-review-comment p {
    margin: 4px 0 0; }

.pr-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  border-top: 1px solid var(--theme-border);
  padding-top: 14px; }

.pr-action-form {
  margin: 0; }

.pr-action {
  width: auto !important;
  padding: 6px 14px;
  font-weight: 500;
  font-size: 13px; }

.pr-action--merge {
  background-color: #c5a3ff;
  color: #ffffff !important;
  border-color: rgba(130, 80, 223, 0.4); }
  .pr-action--merge:hover {
    background-color: #6f3fc4;
    border-color: rgba(130, 80, 223, 0.6); }

.pr-action--close {
  color: var(--theme-danger) !important;
  border-color: rgba(207, 34, 46, 0.4); }
  .pr-action--close:hover {
    background-color: #cf222e;
    color: #ffffff !important;
    border-color: #cf222e; }

.pr-action--review {
  background-color: #1f883d;
  color: #ffffff !important;
  border-color: rgba(31, 136, 61, 0.4); }
  .pr-action--review:hover {
    background-color: #1a7f37; }

.pr-compare-desc {
  color: var(--theme-muted);
  margin-bottom: 16px;
  font-size: 13px; }

.pr-compare-form {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  background-color: var(--theme-raised);
  flex-wrap: wrap; }

.pr-compare-label {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--theme-muted); }
  .pr-compare-label select {
    min-width: 160px;
    padding: 4px 8px; }

.pr-compare-arrow {
  color: var(--theme-muted); }

.pr-compare-btn {
  width: auto !important;
  padding: 5px 12px; }

.pr-compare-summary {
  margin: 14px 0;
  color: var(--theme-muted);
  font-size: 13px; }

.pr-new-form {
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  padding: 14px;
  margin-bottom: 18px;
  background-color: var(--theme-surface); }
  .pr-new-form input[type="text"],
  .pr-new-form textarea {
    width: 100%;
    box-sizing: border-box; }

.pr-new-submit {
  background-color: #1f883d;
  color: #ffffff !important;
  width: auto !important;
  padding: 7px 18px;
  font-weight: 500; }
  .pr-new-submit:hover {
    background-color: #1a7f37; }

.pr-commits {
  list-style: none;
  padding: 0;
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  margin: 8px 0 18px; }

.pr-commit {
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  border-top: 1px solid var(--theme-border);
  font-size: 13px; }
  .pr-commit:first-child {
    border-top: none; }

.pr-commit__hash {
  color: var(--theme-muted);
  font-size: 12px;
  font-family: var(--theme-font); }

.pr-commit__msg {
  flex: 1; }

.pr-commit__author {
  color: var(--theme-muted);
  font-size: 12px; }

.pr-files-summary {
  list-style: none;
  padding: 0;
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  margin: 8px 0 18px; }

.pr-file-summary {
  display: flex;
  gap: 10px;
  padding: 6px 12px;
  border-top: 1px solid var(--theme-border);
  font-size: 13px; }
  .pr-file-summary:first-child {
    border-top: none; }
  .pr-file-summary a {
    flex: 1; }

.pr-file-summary__add {
  color: var(--theme-success); }

.pr-file-summary__del {
  color: var(--theme-danger); }

.content.pr-files-content {
  max-width: 1560px;
  width: calc(100vw - 48px); }

.pr-files-toolbar {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -4px 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  background-color: var(--theme-raised);
  box-shadow: 0 1px 2px rgba(27, 31, 36, 0.04);
  backdrop-filter: blur(6px); }

.pr-files-toolbar__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--theme-muted);
  font-size: 13px; }
  .pr-files-toolbar__summary strong {
    color: var(--theme-text); }

.pr-files-toolbar__add,
.pr-files-toolbar__del {
  font-family: var(--theme-font);
  font-weight: 600; }

.pr-files-toolbar__add {
  color: var(--theme-success); }

.pr-files-toolbar__del {
  color: var(--theme-danger); }

.pr-files-toolbar__submit {
  flex: 0 0 auto; }

.pr-files-layout {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 16px;
  align-items: start; }

.pr-files-sidebar {
  position: sticky;
  top: 58px;
  max-height: calc(100vh - 76px);
  overflow: hidden;
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  background-color: var(--theme-surface);
  box-shadow: 0 1px 2px rgba(27, 31, 36, 0.04); }

.pr-files-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--theme-border);
  background-color: var(--theme-raised);
  color: var(--theme-text);
  font-size: 13px;
  font-weight: 600; }

.pr-files-sidebar__list {
  display: block;
  max-height: calc(100vh - 170px);
  overflow: auto; }

.pr-files-filter {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--theme-border);
  background-color: var(--theme-surface); }

.pr-files-filter__icon {
  color: var(--theme-muted); }
  .pr-files-filter__icon svg {
    display: block;
    width: 16px;
    height: 16px; }

.pr-files-filter__input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 5px 8px;
  font-size: 13px;
  background-color: var(--theme-surface); }

.pr-files-filter__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px !important;
  height: 28px;
  padding: 0;
  color: var(--theme-muted);
  background-color: var(--theme-surface);
  border-color: var(--theme-border); }
  .pr-files-filter__clear svg {
    width: 14px;
    height: 14px; }
  .pr-files-filter__clear:hover {
    color: var(--theme-text);
    background-color: var(--theme-raised);
    border-color: var(--theme-border); }
  .pr-files-filter__clear[hidden] {
    display: none; }

.pr-files-sidebar__list > .r {
  display: grid;
  grid-template-columns: 16px 18px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 7px;
  width: 100% !important;
  box-sizing: border-box;
  padding: 6px 10px 6px var(--i, 10px);
  border-top: 1px solid var(--theme-raised);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background-color: var(--theme-surface);
  color: var(--theme-text) !important;
  cursor: pointer;
  font-size: 12px;
  text-align: left;
  font-family: var(--theme-font); }
  .pr-files-sidebar__list > .r:first-child {
    border-top: none; }
  .pr-files-sidebar__list > .r:hover {
    background-color: var(--theme-raised);
    border-color: var(--theme-raised);
    text-decoration: none;
    color: var(--theme-text) !important; }

.pr-files-sidebar__list > .r[hidden],
.pr-files-filter-empty[hidden] {
  display: none !important; }

.pr-files-sidebar__list > .d {
  grid-template-columns: 16px 18px minmax(0, 1fr);
  font-weight: 600; }

.pr-files-sidebar__list > .r::before,
.pr-files-sidebar__list > .r > b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--theme-muted); }

.pr-files-sidebar__list > .d::before {
  content: ">";
  font-size: 13px;
  line-height: 1;
  transition: transform 0.08s; }

.pr-files-sidebar__list > .d[aria-expanded="true"]::before {
  transform: rotate(90deg); }

.pr-files-sidebar__list > .f::before {
  content: ""; }

.pr-files-sidebar__list > .r > b {
  position: relative;
  flex: 0 0 auto; }

.pr-files-sidebar__list > .d > b {
  width: 15px;
  height: 11px;
  border-radius: 2px;
  background-color: #54aeff; }

.pr-files-sidebar__list > .d > b::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 1px;
  width: 7px;
  height: 4px;
  border-radius: 2px 2px 0 0;
  background-color: #54aeff; }

.pr-files-sidebar__list > .f > b {
  width: 12px;
  height: 14px;
  border: 1px solid var(--theme-muted);
  border-radius: 2px;
  box-sizing: border-box; }

.pr-files-sidebar__list > .r > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35; }

.pr-files-sidebar__list > .r > em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--theme-raised);
  color: var(--theme-muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 1; }

.pr-files-sidebar__list > .r > small {
  display: inline-flex;
  gap: 6px;
  font-family: var(--theme-font);
  font-size: 11px;
  font-weight: 600; }

.pr-files-sidebar__list > .r > small > b {
  color: var(--theme-success); }

.pr-files-sidebar__list > .r > small > i {
  color: var(--theme-danger);
  font-style: normal; }

.pr-files-filter-empty {
  padding: 12px;
  border-top: 1px solid var(--theme-raised);
  color: var(--theme-muted);
  font-size: 13px; }

.pr-files-diffs {
  min-width: 0; }

.pr-files-content .pr-review-submit {
  margin-left: 308px; }

.pr-diff {
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  margin-bottom: 18px;
  overflow: hidden;
  scroll-margin-top: 70px;
  background-color: var(--theme-surface);
  box-shadow: 0 1px 2px rgba(27, 31, 36, 0.04); }

.pr-diff:target {
  border-color: var(--theme-link);
  box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.12); }

.pr-diff__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background-color: var(--theme-raised);
  padding: 8px 12px;
  border-bottom: 1px solid var(--theme-border);
  font-size: 13px; }

.pr-diff__path {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--theme-font);
  font-weight: 600; }

.pr-diff__counts {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
  font-family: var(--theme-font);
  font-weight: 600; }

.pr-diff__add {
  color: var(--theme-success); }

.pr-diff__del {
  color: var(--theme-danger); }

.pr-diff__binary {
  padding: 14px;
  color: var(--theme-muted);
  text-align: center;
  font-style: italic; }

.pr-diff__table {
  width: 100%;
  overflow-x: auto;
  font-family: var(--theme-font);
  font-size: 12px;
  background-color: var(--theme-surface); }

.pr-diff__table > p {
  display: grid;
  grid-template-columns: 56px 56px 18px max-content;
  min-width: 100%;
  margin: 0;
  line-height: 20px;
  font-family: var(--theme-font);
  font-size: 12px; }

.pr-diff__table > p > u,
.pr-diff__table > p > i,
.pr-diff__table > p > s {
  padding: 0 8px;
  white-space: pre;
  font-family: var(--theme-font);
  font-size: 12px; }

.pr-diff__table > p.h {
  display: block;
  background-color: var(--theme-accent-bg); }

.pr-diff__table > p.h > code {
  display: block;
  color: var(--theme-muted);
  padding: 4px 12px;
  font-size: 12px;
  font-family: var(--theme-font); }

.pr-diff__table > p.c {
  background-color: var(--theme-surface); }

.pr-diff__table > p.a {
  background-color: var(--theme-success-diff); }

.pr-diff__table > p.d {
  background-color: var(--theme-danger-diff); }

.pr-diff__table > p.a > u,
.pr-diff__table > p.a > i {
  background-color: var(--theme-success-bg); }

.pr-diff__table > p.d > u,
.pr-diff__table > p.d > i {
  background-color: var(--theme-danger-bg); }

.pr-diff__table > p > u {
  color: var(--theme-muted);
  text-align: right;
  text-decoration: none;
  user-select: none;
  border-right: 1px solid var(--theme-border); }

.pr-diff__table > p > i {
  color: inherit;
  font-style: normal;
  text-align: center;
  user-select: none; }

.pr-diff__table > p > s {
  display: block;
  text-decoration: none; }
  .pr-diff__table > p > s b {
    font-weight: 600;
    color: var(--theme-danger); }
  .pr-diff__table > p > s u {
    text-decoration: none;
    color: var(--theme-success); }
  .pr-diff__table > p > s i {
    font-style: normal;
    color: var(--theme-muted); }

.pr-diff__table > p.m {
  background-color: var(--theme-surface);
  padding: 4px 8px; }

.pr-files-content .pr-diff__table > p.m {
  display: none; }

.pr-files-content .pr-diff__table > p.a:hover + p.m,
.pr-files-content .pr-diff__table > p.d:hover + p.m,
.pr-files-content .pr-diff__table > p.m:hover,
.pr-files-content .pr-diff__table > p.m:focus-within {
  display: block; }

.pr-diff__table > p.m > textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--theme-font);
  font-size: 13px;
  min-height: 72px;
  resize: vertical; }

.pr-diff__table > p.n {
  background-color: var(--theme-warning-bg);
  padding: 8px 12px;
  font-family: var(--theme-font);
  font-size: 13px; }
  .pr-diff__table > p.n i {
    color: var(--theme-muted);
    font-size: 12px;
    font-style: normal; }
  .pr-diff__table > p.n s {
    display: block;
    margin-top: 4px;
    text-decoration: none;
    white-space: pre-wrap; }

.pr-review-form {
  margin: 0; }

.pr-review-submit {
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  padding: 12px;
  margin-bottom: 18px;
  background-color: var(--theme-raised); }
  .pr-review-submit textarea {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px; }

.pr-review-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px; }

@media (max-width: 1100px) {
  .content.pr-files-content {
    max-width: calc(100vw - 24px);
    width: calc(100vw - 24px); }
  .pr-files-layout {
    grid-template-columns: 1fr; }
  .pr-files-sidebar {
    position: relative;
    top: auto;
    max-height: none; }
  .pr-files-sidebar__list {
    max-height: 220px; }
  .pr-files-content .pr-review-submit {
    margin-left: 0; } }

@media (max-width: 700px) {
  .content.pr-files-content {
    max-width: none;
    width: auto;
    margin-left: 10px;
    margin-right: 10px; }
  .pr-files-toolbar {
    position: static;
    align-items: stretch;
    flex-direction: column; }
  .pr-files-toolbar__summary {
    flex-wrap: wrap; }
  .pr-files-toolbar__submit {
    width: 100% !important; }
  .pr-diff__header {
    align-items: flex-start;
    flex-direction: column; }
  .pr-files-sidebar__list > .f {
    grid-template-columns: 16px 18px minmax(0, 1fr) 18px; }
  .pr-files-sidebar__list > .r > small {
    grid-column: 3 / -1; } }

.inline-form {
  display: inline-block;
  margin: 0; }

.link-button {
  font-size: 13px;
  padding: 5px 12px;
  background-color: var(--theme-surface);
  color: var(--theme-text);
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--theme-font);
  line-height: 1.4;
  transition: background-color 0.07s, border-color 0.07s; }
  .link-button:hover {
    background-color: var(--theme-hover);
    text-decoration: none; }

.link-button--danger {
  color: var(--theme-danger);
  border-color: rgba(207, 34, 46, 0.3); }
  .link-button--danger:hover {
    background-color: #cf222e;
    color: #ffffff;
    border-color: #cf222e; }

.project-desc {
  color: var(--theme-muted);
  margin: -8px 0 20px;
  font-size: 14px;
  line-height: 1.5; }

.kanban-board {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  overflow-x: auto;
  padding: 4px 0 16px;
  margin: 0 -4px; }

.kanban-column {
  flex: 0 0 280px;
  background-color: var(--theme-raised);
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 220px); }

.kanban-column--add {
  background-color: transparent;
  border: 1px dashed var(--theme-border); }
  .kanban-column--add .kanban-card-form {
    border-top: none;
    padding: 12px; }

.kanban-column__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--theme-border); }
  .kanban-column__header h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--theme-text);
    text-transform: uppercase;
    letter-spacing: 0.4px; }
  .kanban-column__header .inline-form {
    display: inline;
    margin: 0; }
  .kanban-column__header .link-button--danger {
    color: var(--theme-muted);
    font-size: 18px;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0;
    transition: opacity 0.1s, color 0.1s, background-color 0.1s; }
    .kanban-column__header .link-button--danger:hover {
      color: var(--theme-danger);
      background: none; }

.kanban-column:hover .kanban-column__header .link-button--danger {
  opacity: 1; }

.kanban-cards {
  list-style: none;
  margin: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  flex: 1; }

.kanban-cards__empty {
  color: var(--theme-muted);
  font-size: 13px;
  text-align: center;
  padding: 16px 8px;
  border: 1px dashed var(--theme-border);
  border-radius: 3px;
  background-color: var(--theme-surface); }

.kanban-card {
  background-color: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  padding: 10px 12px;
  box-shadow: 0 1px 0 rgba(27, 31, 36, 0.04);
  transition: box-shadow 0.07s, border-color 0.07s; }
  .kanban-card:hover {
    border-color: #b8b8b8;
    box-shadow: 0 1px 3px rgba(27, 31, 36, 0.08); }
    .kanban-card:hover .kanban-card__actions {
      opacity: 1; }

.kanban-card__title {
  font-weight: 500;
  font-size: 14px;
  color: var(--theme-text);
  line-height: 1.4; }

.kanban-card__note {
  color: var(--theme-muted);
  font-size: 12px;
  margin: 6px 0 0;
  line-height: 1.45;
  white-space: pre-wrap; }

.kanban-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--theme-raised);
  opacity: 0;
  transition: opacity 0.1s; }
  .kanban-card__actions .inline-form {
    display: inline-flex;
    gap: 4px;
    margin: 0;
    align-items: center; }
  .kanban-card__actions select {
    font-size: 12px;
    padding: 3px 6px;
    border: 1px solid var(--theme-border);
    border-radius: 3px;
    background-color: var(--theme-surface);
    color: var(--theme-text);
    max-width: 130px; }
  .kanban-card__actions .link-button {
    font-size: 12px;
    padding: 3px 8px;
    background-color: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: 3px;
    color: var(--theme-text);
    cursor: pointer; }
    .kanban-card__actions .link-button:hover {
      background-color: var(--theme-hover); }
  .kanban-card__actions .link-button--danger {
    color: var(--theme-danger);
    margin-left: auto;
    border-color: transparent;
    background: none;
    padding: 3px 4px; }
    .kanban-card__actions .link-button--danger:hover {
      background-color: rgba(207, 34, 46, 0.08); }

.kanban-card-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-top: 1px solid var(--theme-border);
  background-color: var(--theme-surface);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px; }
  .kanban-card-form input[type="text"],
  .kanban-card-form textarea {
    font-size: 13px;
    padding: 6px 8px;
    border: 1px solid var(--theme-border);
    border-radius: 3px;
    font-family: var(--theme-font);
    color: var(--theme-text);
    background-color: var(--theme-surface);
    box-sizing: border-box;
    width: 100%;
    resize: vertical; }
    .kanban-card-form input[type="text"]:focus,
    .kanban-card-form textarea:focus {
      outline: none;
      border-color: var(--theme-link);
      box-shadow: 0 0 0 2px rgba(9, 105, 218, 0.18); }
  .kanban-card-form textarea {
    min-height: 38px; }
  .kanban-card-form .link-button {
    align-self: flex-start;
    font-size: 12px;
    padding: 5px 12px;
    background-color: #1f883d;
    color: #ffffff;
    border: 1px solid rgba(31, 136, 61, 0.6);
    border-radius: 3px;
    font-weight: 500;
    cursor: pointer; }
    .kanban-card-form .link-button:hover {
      background-color: #1a7f37; }

.kanban-column--add .kanban-card-form .link-button {
  background-color: var(--theme-surface);
  color: var(--theme-text);
  border-color: var(--theme-border); }
  .kanban-column--add .kanban-card-form .link-button:hover {
    background-color: var(--theme-hover); }

.settings-breadcrumb {
  margin-top: 20px;
  color: var(--theme-muted);
  font-size: 13px; }

.settings-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 16px; }
  .settings-link-grid a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--theme-border);
    border-radius: 5px;
    text-decoration: none; }
  .settings-link-grid span {
    color: var(--theme-muted);
    font-size: 12px; }

.approvals-form label {
  font-size: 13px; }

.approvals-form input[type="number"] {
  width: 80px; }

.governance-form input,
.governance-form select,
.governance-row select {
  min-height: 32px; }

.governance-form label,
.governance-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px; }

.governance-list {
  border-top: 1px solid var(--theme-border); }

.governance-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--theme-border); }

.governance-row__identity {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 180px; }
  .governance-row__identity img {
    width: 32px;
    height: 32px;
    border-radius: 50%; }
  .governance-row__identity small {
    display: block;
    color: var(--theme-muted);
    margin-top: 2px; }

.governance-row__actions {
  flex-wrap: nowrap; }

.danger-link-button {
  color: var(--theme-danger) !important;
  white-space: nowrap; }

.settings-empty {
  color: var(--theme-muted);
  margin-bottom: 0; }

.pr-approval-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  background: var(--theme-raised); }
  .pr-approval-box > div {
    display: flex;
    flex-direction: column;
    gap: 3px; }
  .pr-approval-box span, .pr-approval-box small {
    color: var(--theme-muted);
    font-size: 12px; }
  .pr-approval-box form {
    margin: 0; }

.pr-merge-blocked {
  align-self: center;
  color: var(--theme-warning);
  font-size: 13px; }

.protected-branch-badge {
  display: inline-block;
  margin-left: 7px;
  padding: 1px 6px;
  border: 1px solid rgba(154, 103, 0, 0.35);
  border-radius: 10px;
  color: var(--theme-warning);
  font-size: 11px; }

@media (max-width: 700px) {
  .governance-row,
  .governance-row__actions {
    align-items: stretch;
    flex-direction: column; }
  .governance-row__identity {
    width: 100%; } }

/* Header for the file table (Last Commit Info) */
.last_commit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: var(--theme-raised);
  border: 1px solid var(--theme-border);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom: none;
  font-size: 13px;
  color: var(--theme-text); }
  .last_commit .last_commit_message {
    color: var(--theme-muted);
    margin-left: 8px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; }
  .last_commit .last_commit_hash {
    font-family: var(--theme-font);
    color: var(--theme-text);
    background-color: transparent;
    margin: 0 10px;
    font-size: 12px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; }
  .last_commit .time {
    color: var(--theme-muted);
    white-space: nowrap; }

/* The File List Container */
.files {
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  margin-bottom: 20px; }

/* Individual File Row */
.file {
  display: grid;
  /* Grid: Icon | Name | Message | Date */
  grid-template-columns: 20px minmax(150px, 25%) 1fr 140px;
  align-items: center;
  padding: 8px 16px;
  border-top: 1px solid var(--theme-border);
  font-size: 14px;
  line-height: 20px;
  color: var(--theme-text);
  background-color: var(--theme-surface);
  transition: background-color 0.1s;
  /* Adjustments for first item if not using the last_commit header div
	   but assuming .files contains .last_commit followed by divs
	*/ }
  .file:hover {
    background-color: var(--theme-raised); }
  .file:last-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px; }

.files--with-size .file {
  grid-template-columns: 20px minmax(150px, 25%) 1fr 140px 90px; }

.files--with-size .file-size {
  grid-column: 5; }

.file.file-total {
  grid-template-columns: 1fr auto; }
  .file.file-total:hover {
    background-color: var(--theme-surface);
    cursor: default; }
  .file.file-total .file-size {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--theme-text) !important;
    font-size: 14px; }
    .file.file-total .file-size svg {
      fill: currentColor;
      color: var(--theme-muted);
      width: 14px;
      height: 14px; }
    .file.file-total .file-size b {
      font-weight: 600; }

.files--with-size .file.file-total {
  grid-template-columns: 1fr auto; }
  .files--with-size .file.file-total .file-size {
    grid-column: 2; }

.files--top-files .file {
  grid-template-columns: 20px minmax(0, 1fr) 110px; }

.top-files-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: var(--theme-raised);
  border-bottom: 1px solid var(--theme-border);
  font-size: 13px;
  color: var(--theme-text); }
  .top-files-header span {
    color: var(--theme-muted); }

.top-files-empty {
  padding: 16px;
  color: var(--theme-muted);
  background: var(--theme-surface); }

/* Responsive Grid for Mobile */
@media (max-width: 768px) {
  .file {
    grid-template-columns: 20px 1fr;
    gap: 5px; }
  .files--with-size .file {
    grid-template-columns: 20px 1fr; }
  .files--top-files .file {
    grid-template-columns: 20px 1fr; }
  .file-msg, .file-size, .file-time {
    display: none; } }

/* Icon */
.file-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #79b8ff;
  /* Folder blue */ }
  .file-ico svg {
    fill: currentColor;
    width: 14px;
    height: 14px; }

/* File Name */
.file-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px; }
  .file-name a {
    color: var(--theme-text) !important;
    font-weight: 400; }
    .file-name a:hover {
      color: var(--theme-link) !important;
      text-decoration: underline; }

/* Commit Message */
.file-msg {
  color: var(--theme-muted) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px; }
  .file-msg a {
    color: var(--theme-muted); }
    .file-msg a:hover {
      color: var(--theme-link); }

/* Folder size */
.file-size {
  color: var(--theme-muted) !important;
  text-align: right;
  font-size: 13px;
  white-space: nowrap; }

/* Time */
.file-time {
  color: var(--theme-muted) !important;
  text-align: right;
  font-size: 13px;
  padding-right: 10px; }

.langs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  align-items: center;
  background: var(--theme-surface); }

.lang-stats-header {
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  margin: 0 0 18px;
  overflow: hidden; }

.lang-stats-bar {
  display: flex;
  height: 5px; }
  .lang-stats-bar div {
    height: 5px; }

.lang-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 9px 6px 8px;
  min-width: 0;
  white-space: nowrap; }

.lang-stat * {
  margin-right: 3px; }

.lang-stat *:last-child {
  margin-right: 0px; }

.lang-stat-dot {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  display: inline-block;
  margin-right: 4px;
  margin-bottom: 1px; }

.lang-stat-loc {
  font-size: 80%;
  font-style: italic;
  color: var(--theme-muted); }

.repo-tabs {
  position: fixed;
  left: 5px;
  top: 300px; }
  .repo-tabs a {
    display: block; }

/* --- Main Layout Containers --- */
.repo-header {
  margin-bottom: 20px; }

.repo-title-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 50px; }

.repo-settings-link {
  font-size: 14px;
  line-height: 1; }

.repo-title-logo {
  object-fit: contain; }

.repo-header-area {
  position: relative; }
  .repo-header-area .repo-actions {
    position: absolute;
    top: 11px;
    right: 0;
    z-index: 5; }

@media (max-width: 640px) {
  .repo-header-area .repo-actions {
    position: static;
    justify-content: flex-end; } }

/* 1. The repo stats panel */
.repo-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  background: var(--theme-surface);
  margin: 8px 0 10px;
  min-height: 36px;
  overflow: hidden; }

.repo-stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--theme-text) !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 20px;
  min-width: 0;
  padding: 7px 8px;
  white-space: nowrap; }
  .repo-stat-item b {
    font-weight: 700; }
  .repo-stat-item svg {
    color: var(--theme-text);
    flex: 0 0 auto;
    height: 15px;
    width: 15px; }

a.repo-stat-item:hover {
  background: var(--theme-raised);
  text-decoration: none; }

@media (max-width: 760px) {
  .repo-stats {
    justify-content: space-around; } }

/* 2. The Control Bar (Branch, Code, Stars, Watch) */
.repo-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px; }

.repo-wrapper--with-sidebar {
  padding-right: 184px; }

.branch-specific-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%; }

.branch-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto; }

.add-file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--theme-raised);
  border: 1px solid rgba(27, 31, 35, 0.15);
  border-radius: 6px;
  color: var(--theme-text) !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  cursor: pointer; }
  .add-file-btn:hover {
    background: #2ea44f;
    border-color: #2ea44f;
    color: #fff !important; }

/* Branch Select Dropdown */
.branch-select {
  appearance: none;
  background-color: var(--theme-raised);
  border: 1px solid rgba(27, 31, 35, 0.15);
  border-radius: 6px;
  color: var(--theme-text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  max-width: 150px;
  padding: 5px 35px 5px 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px; }

.branches-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--theme-text) !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 5px 10px;
  border: 1px solid rgba(27, 31, 35, 0.15);
  border-radius: 6px;
  background: var(--theme-raised);
  white-space: nowrap; }
  .branches-link svg {
    color: var(--theme-text);
    height: 14px;
    width: 14px;
    flex: 0 0 auto; }
  .branches-link b {
    font-weight: 600; }
  .branches-link:hover {
    background: var(--theme-hover);
    text-decoration: none; }

.repo-mode-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(27, 31, 35, 0.15);
  border-radius: 6px;
  overflow: hidden;
  background: var(--theme-surface); }

.repo-mode-link {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 10px;
  color: var(--theme-text) !important;
  font-size: 13px !important;
  line-height: 30px;
  border-right: 1px solid rgba(27, 31, 35, 0.15);
  white-space: nowrap; }
  .repo-mode-link:last-child {
    border-right: 0; }
  .repo-mode-link.active {
    background: var(--theme-raised);
    font-weight: 600; }

a.repo-mode-link:hover {
  background: var(--theme-raised);
  text-decoration: none; }

/* --- Action Buttons (Code, Star, Watch) --- */
.repo-code-container {
  position: relative; }

/* Green Code Button */
.repo-code-button {
  background-color: #2ea44f;
  color: white;
  padding: 5px 16px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(27, 31, 35, 0.15);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s; }
  .repo-code-button:hover {
    background-color: #2c974b; }
  .repo-code-button::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent; }

/* Clone Dropdown */
.repo-clone-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  padding: 16px;
  background-color: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(149, 157, 165, 0.2);
  z-index: 100;
  width: 300px;
  color: var(--theme-text);
  font-size: 13px; }
  .repo-clone-dropdown .clone-input-group {
    display: flex;
    margin-top: 8px; }
    .repo-clone-dropdown .clone-input-group input {
      flex: 1;
      font-family: var(--theme-font);
      font-size: 12px;
      padding: 5px;
      border: 1px solid var(--theme-border);
      border-radius: 4px 0 0 4px;
      border-right: none;
      background: var(--theme-raised); }
    .repo-clone-dropdown .clone-input-group button {
      border-radius: 0 4px 4px 0;
      background: var(--theme-raised);
      border: 1px solid var(--theme-border);
      font-size: 12px;
      padding: 5px 10px;
      cursor: pointer; }
      .repo-clone-dropdown .clone-input-group button:hover {
        background-color: var(--theme-hover); }

.repo-code-container:hover .repo-clone-dropdown {
  display: block; }

/* Repo Actions (Star / Watch buttons in the top bar) */
.repo-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap; }
  .repo-actions button {
    display: inline-flex;
    width: auto !important; }

/* Two-column layout for the top of the repo (files + sidebar) */
.repo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 24px;
  align-items: start; }

.repo-main {
  min-width: 0; }

.repo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px; }

.sidebar-section {
  border-bottom: 1px solid var(--theme-hover);
  padding-bottom: 16px; }
  .sidebar-section:last-child {
    border-bottom: 0;
    padding-bottom: 0; }

.sidebar-section-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px; }
  .sidebar-section-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-text);
    margin: 0; }
    .sidebar-section-header h3 a {
      color: inherit; }
      .sidebar-section-header h3 a:hover {
        color: var(--theme-link);
        text-decoration: none; }

.sidebar-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  background: var(--theme-hover);
  color: var(--theme-text);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 500; }

.sidebar-description {
  font-size: 14px;
  color: var(--theme-muted);
  margin: 0 0 12px;
  line-height: 1.5; }

.sidebar-description--empty {
  font-style: italic;
  color: #8b949e; }

.sidebar-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px; }
  .sidebar-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--theme-muted); }
    .sidebar-meta li svg {
      color: var(--theme-muted);
      flex: 0 0 auto; }
    .sidebar-meta li a {
      color: var(--theme-muted);
      font-weight: 500; }
      .sidebar-meta li a:hover {
        color: var(--theme-link);
        text-decoration: underline; }

.sidebar-empty {
  font-size: 13px;
  color: #8b949e;
  margin: 0;
  font-style: italic; }

.sponsor-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--theme-text) !important;
  background: var(--theme-raised);
  border: 1px solid rgba(27, 31, 35, 0.15);
  border-radius: 6px; }
  .sponsor-button:hover {
    background: var(--theme-hover);
    text-decoration: none; }

.sidebar-release-latest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--theme-text) !important; }
  .sidebar-release-latest .sidebar-release-badge {
    display: inline-flex;
    align-items: center;
    padding: 0 7px;
    height: 20px;
    background: #2ea44f;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 999px; }
  .sidebar-release-latest .sidebar-release-name {
    font-weight: 600;
    font-size: 14px; }
  .sidebar-release-latest .sidebar-release-date {
    color: var(--theme-muted);
    font-size: 12px;
    flex-basis: 100%; }
  .sidebar-release-latest:hover .sidebar-release-name {
    color: var(--theme-link); }

.sidebar-release-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--theme-link); }
  .sidebar-release-more:hover {
    text-decoration: underline; }

.sidebar-contributors {
  display: flex;
  flex-wrap: wrap;
  gap: 6px; }

.sidebar-contributor {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--theme-raised); }
  .sidebar-contributor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; }

.sidebar-contributor--shadow {
  cursor: default; }

@media (max-width: 960px) {
  .repo-layout {
    grid-template-columns: minmax(0, 1fr); }
  .repo-wrapper--with-sidebar {
    padding-right: 0; } }

/* Common style for Star/Watch buttons */
.star-button, .watch-button {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  color: var(--theme-text);
  background-color: var(--theme-raised);
  border: 1px solid rgba(27, 31, 35, 0.15);
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s cubic-bezier(0.3, 0, 0.5, 1);
  transition-property: color, background-color, border-color;
  margin-top: 0 !important;
  /* Override original */ }
  .star-button:hover, .watch-button:hover {
    background-color: var(--theme-hover);
    border-color: rgba(27, 31, 35, 0.15);
    text-decoration: none; }
  .star-button svg, .watch-button svg {
    height: 14px;
    width: 14px;
    margin-right: 4px;
    fill: var(--theme-muted); }

/* --- Breadcrumbs --- */
.tree-path {
  font-size: 16px;
  margin: 10px 0;
  color: var(--theme-muted);
  /* Slash separator */ }
  .tree-path a {
    color: var(--theme-link); }
    .tree-path a:hover {
      text-decoration: underline; }
  .tree-path .slash {
    color: var(--theme-muted);
    margin: 0 4px; }

/* --- Readme Container --- */
.readme {
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  padding: 32px;
  margin-top: 24px;
  background-color: var(--theme-surface); }
  @media (max-width: 1000px) {
    .readme {
      padding: 16px; } }
.readme .repo-markdown {
  line-height: 1.8; }

.readme-plain {
  font-family: var(--theme-font);
  white-space: pre-wrap;
  overflow-wrap: anywhere; }

.repo-markdown {
  color: var(--theme-text);
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word; }
  .repo-markdown * {
    line-height: inherit; }
  .repo-markdown a {
    color: var(--theme-link);
    font-size: inherit; }
    .repo-markdown a:hover {
      text-decoration: underline; }
  .repo-markdown p, .repo-markdown blockquote, .repo-markdown ul, .repo-markdown ol, .repo-markdown dl, .repo-markdown table, .repo-markdown pre, .repo-markdown details {
    margin: 0 0 16px; }
  .repo-markdown h1, .repo-markdown h2, .repo-markdown h3, .repo-markdown h4, .repo-markdown h5, .repo-markdown h6 {
    position: relative;
    margin: 24px 0 16px;
    padding: 0;
    font-weight: 600;
    line-height: 1.25; }
  .repo-markdown h1, .repo-markdown h2 {
    padding-bottom: 0.3em;
    border-bottom: 1px solid var(--theme-border); }
  .repo-markdown h1 {
    font-size: 2em; }
  .repo-markdown h2 {
    font-size: 1.5em; }
  .repo-markdown h3 {
    font-size: 1.25em; }
  .repo-markdown h4 {
    font-size: 1em; }
  .repo-markdown h5 {
    font-size: 0.875em; }
  .repo-markdown h6 {
    font-size: 0.85em;
    color: var(--theme-muted); }
  .repo-markdown .repo-markdown-heading-link {
    position: absolute;
    right: 100%;
    padding-right: 0.25em;
    color: var(--theme-muted);
    font-size: 0.8em;
    opacity: 0; }
    .repo-markdown .repo-markdown-heading-link::before {
      content: "#"; }
  .repo-markdown :hover > .repo-markdown-heading-link,
  .repo-markdown .repo-markdown-heading-link:focus {
    opacity: 1; }
  .repo-markdown ul, .repo-markdown ol {
    padding-left: 2em; }
    .repo-markdown ul ul, .repo-markdown ul ol, .repo-markdown ol ul, .repo-markdown ol ol {
      margin-bottom: 0; }
  .repo-markdown li + li {
    margin-top: 0.25em; }
  .repo-markdown .task-list-item {
    list-style: none; }
    .repo-markdown .task-list-item input {
      margin: 0 0.4em 0.25em -1.4em;
      vertical-align: middle; }
  .repo-markdown blockquote {
    padding: 0 1em;
    color: var(--theme-muted);
    border-left: 0.25em solid var(--theme-border); }
    .repo-markdown blockquote > :last-child {
      margin-bottom: 0; }
  .repo-markdown hr {
    height: 0.25em;
    margin: 24px 0;
    border: 0;
    background: var(--theme-border); }
  .repo-markdown code, .repo-markdown code * {
    font-family: var(--theme-font); }
  .repo-markdown code {
    padding: 0.2em 0.4em;
    border-radius: 6px;
    background: var(--theme-hover);
    font-size: 85%; }
  .repo-markdown pre {
    padding: 16px;
    border-radius: 6px;
    background: var(--theme-raised);
    font-size: 85%;
    line-height: 1.45;
    overflow: auto;
    overflow-wrap: normal; }
    .repo-markdown pre code {
      padding: 0;
      background: transparent;
      font-size: inherit; }
  .repo-markdown img {
    max-width: 100%; }
  .repo-markdown table {
    display: block;
    width: max-content;
    max-width: 100%;
    overflow: auto;
    border-collapse: collapse; }
  .repo-markdown th, .repo-markdown td {
    padding: 6px 13px;
    border: 1px solid var(--theme-border); }
  .repo-markdown th {
    font-weight: 600; }
  .repo-markdown tr:nth-child(2n) {
    background: var(--theme-raised); }
  .repo-markdown > :first-child {
    margin-top: 0; }
  .repo-markdown > :last-child {
    margin-bottom: 0; }

.commit-day-title {
  color: var(--theme-muted);
  font-size: 13px;
  padding: 24px 0 10px 0; }

.clog-block {
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  overflow: hidden;
  background-color: var(--theme-surface); }

.clog {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--theme-border); }

.clog:first-child {
  border-top: 0; }

.clog-avatar-link {
  flex: 0 0 auto;
  display: block;
  line-height: 0; }

img.clog-avatar {
  border-radius: 3px;
  width: 20px;
  height: 20px;
  object-fit: cover;
  display: block; }

.clog-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px; }

.clog-browse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  background-color: var(--theme-surface);
  color: var(--theme-muted);
  text-decoration: none; }

.clog-browse:hover {
  color: var(--theme-link);
  border-color: var(--theme-link); }

.clog-browse svg {
  width: 14px;
  height: 14px;
  display: block; }

.clog-body {
  flex: 1 1 auto;
  min-width: 0; }

.clog-msg {
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden; }
  .clog-msg a {
    color: var(--theme-text) !important;
    font-size: 15px;
    font-weight: 600; }

.clog-meta {
  font-size: 12px;
  color: var(--theme-muted);
  margin-top: 4px; }

.clog-author {
  color: var(--theme-text);
  font-weight: 600;
  text-decoration: none;
  margin-right: 6px; }

a.clog-author:hover {
  color: var(--theme-link); }

.clog-time {
  font-size: 12px;
  color: var(--theme-muted); }

.clog-hash {
  flex: 0 0 auto;
  font-family: var(--theme-font);
  background-color: var(--theme-raised);
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--theme-text);
  text-decoration: none; }

.clog-hash:hover {
  color: var(--theme-link);
  border-color: var(--theme-link); }

.commit-page {
  margin-top: 16px; }

.commit-page__header {
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  padding: 14px 16px;
  background-color: var(--theme-raised);
  margin-bottom: 16px; }

.commit-page__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--theme-text);
  line-height: 1.4; }

.commit-page__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--theme-muted);
  margin-bottom: 10px; }

.commit-page__author {
  font-weight: 600;
  color: var(--theme-text); }

.commit-page__sep {
  color: var(--theme-muted); }

.commit-page__hash {
  font-family: var(--theme-font);
  background-color: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 12px;
  color: var(--theme-text); }

.commit-page__browse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  background-color: var(--theme-surface);
  color: var(--theme-muted);
  text-decoration: none; }

.commit-page__browse:hover {
  color: var(--theme-link);
  border-color: var(--theme-link); }

.commit-page__browse svg {
  width: 14px;
  height: 14px;
  display: block; }

.commit-page__patch {
  margin-left: auto;
  font-size: 13px;
  color: var(--theme-link);
  text-decoration: none; }

.commit-page__patch:hover {
  text-decoration: underline; }

.commit-page__stats {
  display: flex;
  gap: 12px;
  font-size: 13px;
  font-family: var(--theme-font); }

.commit-page__files {
  color: var(--theme-text); }

.commit-page__adds {
  color: var(--theme-success);
  font-weight: 600; }

.commit-page__dels {
  color: var(--theme-danger);
  font-weight: 600; }

.commit-page__empty {
  padding: 24px;
  text-align: center;
  color: var(--theme-muted);
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  background-color: var(--theme-surface); }

.pr-diff__tag {
  display: inline-block;
  font-size: 11px;
  font-family: var(--theme-font);
  font-weight: 500;
  padding: 1px 6px;
  margin-left: 6px;
  border-radius: 10px;
  background-color: var(--theme-raised);
  color: var(--theme-muted);
  border: 1px solid var(--theme-border);
  vertical-align: middle; }

.pr-diff__tag--new {
  background-color: var(--theme-success-bg);
  color: var(--theme-success);
  border-color: #aceebb; }

.pr-diff__tag--deleted {
  background-color: var(--theme-danger-bg);
  color: var(--theme-danger);
  border-color: var(--theme-danger-bg); }

.pr-diff__oldpath {
  color: var(--theme-muted);
  font-weight: 400;
  margin-right: 4px; }

.buttons {
  margin-top: 10px; }

pre > * {
  font-family: var(--theme-font); }

pre {
  overflow-y: hidden;
  overflow-x: auto; }

.hl_table a {
  padding-right: 5px;
  padding-left: 5px;
  float: right; }

.hl_table td {
  padding: 0px; }

.hl_table td:first-child {
  width: 1%;
  padding-right: 4px; }
  .hl_table td:first-child a {
    font-family: var(--theme-font);
    color: var(--theme-muted);
    opacity: 0.7;
    cursor: pointer; }
  .hl_table td:first-child a:hover {
    opacity: 1; }

.hl_table tr {
  height: 16px; }

.hl_code > * {
  font-family: inherit; }

.hl_table b,
.hl_code > b {
  color: #ff7540;
  font-weight: normal; }

.hl_table u,
.hl_code > u {
  color: #8ec07c;
  text-decoration: none; }

.hl_table i,
.hl_code > i {
  color: #989eaf;
  font-style: normal; }

div.branches .branch {
  margin-top: 10px; }

.data {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; }

.data-box {
  flex-basis: 100%;
  justify-content: space-between; }

.data-box:not([hidden]) {
  display: flex; }

.data-show-user {
  cursor: pointer;
  background: none;
  color: var(--theme-text);
  border: 1px solid var(--theme-border);
  padding: 5px 8px;
  border-radius: 3px;
  transition: background-color 0.07s, border-color 0.07s, color 0.07s;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none; }

.data-show-user:hover {
  border: 1px solid var(--theme-link);
  background-color: #1a7be9;
  color: #ffffff; }

.data-emails {
  flex-basis: 35%; }

.data-emails > ul {
  min-height: 125px;
  max-height: 250px;
  overflow-x: hidden;
  overflow-y: auto; }

.data-email {
  list-style: none; }

.data-user {
  display: flex;
  align-items: center; }

.data-user > div {
  margin-right: 5px; }

.user-settings {
  width: 60%;
  display: flex;
  flex-direction: column; }

.user-settings > input {
  float: right;
  align-self: flex-end; }

.data-options {
  flex-basis: 100%;
  display: flex;
  flex-direction: column; }

.data-options > div {
  margin-bottom: 5px;
  display: flex;
  align-items: center; }

.data-options > div > label {
  margin-left: 5px; }

.settings {
  margin: 0 auto; }

::placeholder {
  color: var(--theme-text); }

.content.admin-layout {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 32px;
  max-width: 1160px;
  padding: 32px 24px 0;
  color: var(--theme-text); }

.admin-sidebar {
  border-right: 1px solid var(--theme-border);
  padding-right: 16px; }

.admin-sidebar h2 {
  padding: 0 10px;
  margin-bottom: 14px;
  font-size: 16px; }

.admin-sidebar nav > * {
  margin-bottom: 6px; }

.admin-sidebar summary {
  cursor: pointer;
  padding: 8px 10px;
  font-weight: 600; }

.admin-sidebar a {
  display: block;
  padding: 7px 10px;
  border-radius: 5px;
  color: var(--theme-text); }

.admin-sidebar details a {
  padding-left: 25px; }

.admin-sidebar a:hover, .admin-sidebar summary:hover {
  background: var(--theme-raised); }

.admin-sidebar a[aria-current="page"] {
  background: var(--theme-accent-bg);
  color: var(--theme-link-hover);
  font-weight: 600; }

.admin-main {
  min-width: 0;
  overflow-wrap: anywhere; }

.admin-main > h1 {
  margin: 0 0 22px;
  font-size: 28px;
  line-height: 1.2; }

.admin-instance {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 15px 18px;
  margin-bottom: 24px;
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  background: var(--theme-raised); }

.admin-instance dt, .admin-operation-list p {
  color: var(--theme-muted);
  font-size: 13px; }

.admin-instance dd {
  font-weight: 600; }

.admin-panel {
  border: 1px solid var(--theme-border);
  border-radius: 5px; }

.admin-panel-header, .admin-operation-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px; }

.admin-panel-header {
  background: var(--theme-raised);
  border-radius: 5px 5px 0 0;
  border-bottom: 1px solid var(--theme-border); }

.admin-panel-header h2 {
  padding: 0;
  font-size: 17px; }

.admin-feedback {
  margin: 12px 18px 0; }

.admin-operation-list, .admin-job-list {
  list-style: none; }

.admin-operation-list li + li, .admin-job-list li + li {
  border-top: 1px solid var(--theme-border); }

.admin-operation-list h3 {
  font-size: 14px; }

.admin-operation-list button {
  min-width: 66px;
  padding: 6px 12px;
  border: 1px solid #185898;
  border-radius: 5px;
  background: #1d64a8;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer; }

.admin-operation-list button:hover:not(:disabled) {
  background: #185898; }

.admin-operation-list button:disabled {
  background: var(--theme-raised);
  border-color: var(--theme-border);
  color: var(--theme-muted);
  cursor: default; }

.admin-inventory {
  width: 100%;
  border-collapse: collapse;
  text-align: left; }

.admin-inventory th, .admin-inventory td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--theme-border); }

.admin-inventory tbody tr:last-child td {
  border-bottom: 0; }

.admin-pagination {
  display: flex;
  gap: 16px;
  margin-top: 14px; }

.admin-job-list li {
  padding: 10px; }

.admin-job-list li:target {
  background: var(--theme-accent-bg); }

.admin-job-status {
  margin-left: 8px;
  color: var(--theme-muted); }

@media (max-width: 720px) {
  .content.admin-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 20px 14px 0; }
  .admin-sidebar {
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px solid var(--theme-border); }
  .admin-sidebar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-panel-header {
    flex-wrap: wrap; } }

.stat-uptime {
  color: var(--theme-muted);
  margin-bottom: 18px; }

.stat-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px; }

.stat-summary-item {
  background: var(--theme-raised);
  border: 1px solid var(--theme-hover);
  border-radius: 3px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column; }

.stat-summary-value {
  font-size: 28px;
  font-weight: 600;
  color: var(--theme-text);
  line-height: 1; }

.stat-summary-label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--theme-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em; }

.stat-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 30px; }

.stat-card {
  background: var(--theme-surface);
  border: 1px solid var(--theme-hover);
  border-radius: 3px;
  padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); }

.stat-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px; }

.stat-card-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--theme-text); }

.stat-card-range {
  font-size: 12px;
  color: var(--theme-muted); }

.stat-chart {
  width: 100%;
  height: 180px;
  display: block; }

.stat-chart-bar {
  transition: opacity 0.1s ease; }

.stat-chart-bar:hover {
  opacity: 0.8; }

.stat-chart-grid line {
  stroke: var(--theme-raised);
  stroke-width: 1; }

.stat-chart-label {
  font-size: 9px;
  fill: var(--theme-muted); }

@media (max-width: 800px) {
  .stat-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-cards {
    grid-template-columns: 1fr; } }

.blob-page {
  margin-top: 16px; }

.blob-breadcrumb {
  font-size: 18px;
  margin: 0 0 14px;
  color: var(--theme-muted);
  line-height: 1.4;
  word-break: break-all; }

.blob-breadcrumb__link {
  color: var(--theme-link);
  font-weight: 500; }
  .blob-breadcrumb__link:hover {
    text-decoration: underline; }

.blob-breadcrumb__sep {
  color: var(--theme-muted);
  margin: 0 6px; }

.blob-breadcrumb__file {
  color: var(--theme-text);
  font-weight: 600; }

.blob-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background-color: var(--theme-raised);
  border: 1px solid var(--theme-border);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  font-size: 13px; }

.blob-toolbar__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--theme-muted);
  min-width: 0; }

.blob-toolbar__dot {
  color: var(--theme-muted);
  user-select: none; }

.blob-stat {
  color: var(--theme-muted); }
  .blob-stat b {
    color: var(--theme-text);
    font-weight: 600; }

.blob-stat--hash {
  font-family: var(--theme-font);
  font-size: 12px;
  color: var(--theme-link) !important;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
  white-space: nowrap; }
  .blob-stat--hash:hover {
    text-decoration: underline; }

.blob-toolbar__actions {
  display: flex;
  gap: 6px; }

.blob-action {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background-color: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  color: var(--theme-text) !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  transition: background-color 0.07s, border-color 0.07s; }
  .blob-action:hover {
    background-color: var(--theme-hover);
    border-color: #afb8c1;
    text-decoration: none; }

.blob-content {
  border: 1px solid var(--theme-border);
  border-radius: 0 0 6px 6px;
  margin: 0 0 16px;
  background-color: var(--theme-surface);
  overflow: auto; }

.blob-content__code {
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.5; }

.blob-content__markdown {
  padding: 32px; }
  @media (max-width: 1000px) {
    .blob-content__markdown {
      padding: 16px; } }
.contributors-item {
  display: flex;
  align-items: center;
  border: 1px solid var(--theme-border);
  border-radius: 5px;
  padding: 10px;
  margin-top: 10px; }
  .contributors-item a {
    margin-left: 10px; }

.issue-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 16px; }

.issue-state-tabs {
  display: flex;
  gap: 4px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--theme-border); }

.issue-state-tab {
  padding: 8px 12px;
  color: var(--theme-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent; }

.issue-state-tab:hover {
  color: var(--theme-text); }

.issue-state-tab--active {
  color: var(--theme-text);
  font-weight: 600;
  border-bottom-color: #fd8c73; }

.issue-header__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  padding: 0;
  word-wrap: break-word;
  overflow-wrap: break-word; }

.issue-header__id {
  color: var(--theme-muted);
  font-weight: 400;
  margin-left: 4px; }

.issue-post {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  margin-bottom: 14px;
  background: var(--theme-surface); }

.issue-post__avatar {
  display: block; }
  .issue-post__avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--theme-border);
    display: block; }

.issue-post__body {
  min-width: 0; }

.issue-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  font-size: 13px;
  color: var(--theme-muted);
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--theme-hover); }

.issue-post__author {
  font-weight: 600;
  color: var(--theme-text); }

.issue-post__time {
  color: var(--theme-muted); }

.issue-post__content {
  font-size: 14px;
  line-height: 1.55;
  color: var(--theme-text);
  word-wrap: break-word;
  overflow-wrap: break-word; }
  .issue-post__content p {
    margin: 0 0 12px; }
  .issue-post__content p:last-child {
    margin-bottom: 0; }

.markdown-body.issue-post__content h1, .markdown-body.issue-post__content h2, .markdown-body.issue-post__content h3, .markdown-body.issue-post__content h4,
.issue-post__content.markdown-body h1,
.issue-post__content.markdown-body h2,
.issue-post__content.markdown-body h3,
.issue-post__content.markdown-body h4 {
  font-weight: 600;
  margin: 18px 0 8px;
  padding: 0;
  line-height: 1.3; }

.markdown-body.issue-post__content h1,
.issue-post__content.markdown-body h1 {
  font-size: 18px; }

.markdown-body.issue-post__content h2,
.issue-post__content.markdown-body h2 {
  font-size: 16px; }

.markdown-body.issue-post__content h3,
.issue-post__content.markdown-body h3 {
  font-size: 15px; }

.markdown-body.issue-post__content h4,
.issue-post__content.markdown-body h4 {
  font-size: 14px; }

.markdown-body.issue-post__content > *:first-child,
.issue-post__content.markdown-body > *:first-child {
  margin-top: 0; }

.markdown-body.issue-post__content ul, .markdown-body.issue-post__content ol,
.issue-post__content.markdown-body ul,
.issue-post__content.markdown-body ol {
  margin: 0 0 12px 22px;
  padding: 0; }

.markdown-body.issue-post__content li,
.issue-post__content.markdown-body li {
  margin: 4px 0; }

.markdown-body.issue-post__content a,
.issue-post__content.markdown-body a {
  color: var(--theme-link); }

.markdown-body.issue-post__content code,
.issue-post__content.markdown-body code {
  background: var(--theme-raised);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 90%; }

.markdown-body.issue-post__content pre,
.issue-post__content.markdown-body pre {
  background: var(--theme-raised);
  padding: 12px;
  border-radius: 6px;
  overflow-x: auto; }

.markdown-body.issue-post__content blockquote,
.issue-post__content.markdown-body blockquote {
  border-left: 3px solid var(--theme-border);
  padding: 0 12px;
  color: var(--theme-muted);
  margin: 0 0 12px; }

.markdown-body.issue-post__content table,
.issue-post__content.markdown-body table {
  display: block;
  width: max-content;
  max-width: 100%;
  overflow: auto;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 0 12px; }

.markdown-body.issue-post__content tr,
.issue-post__content.markdown-body tr {
  background-color: var(--theme-surface);
  border-top: 1px solid var(--theme-border); }

.markdown-body.issue-post__content tr:nth-child(2n),
.issue-post__content.markdown-body tr:nth-child(2n) {
  background-color: var(--theme-raised); }

.markdown-body.issue-post__content th,
.markdown-body.issue-post__content td,
.issue-post__content.markdown-body th,
.issue-post__content.markdown-body td {
  padding: 6px 13px;
  border: 1px solid var(--theme-border); }

.markdown-body.issue-post__content th,
.issue-post__content.markdown-body th {
  font-weight: 600; }

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px; }

.comment-form__input {
  box-sizing: border-box;
  width: 100%;
  min-height: 100px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--theme-font);
  line-height: 1.5;
  resize: vertical; }

.comment-form__actions {
  display: flex;
  justify-content: flex-end; }

.comment-form__submit {
  width: auto !important;
  padding: 6px 16px;
  background-color: #1f883d;
  color: #fff;
  border: 1px solid rgba(31, 136, 61, 0.6);
  font-weight: 500; }
  .comment-form__submit:hover {
    background-color: #1a7f37;
    border-color: rgba(27, 31, 36, 0.15);
    color: #fff; }

.issue-assignees {
  margin: 0 0 18px 54px;
  padding: 12px 14px;
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  background: var(--theme-raised); }

.issue-labels {
  margin: 0 0 14px 54px;
  padding: 10px 14px;
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  background: var(--theme-raised); }

.issue-label-control {
  display: inline-flex;
  align-items: center;
  gap: 2px; }

.issue-label__remove {
  width: auto;
  padding: 0 4px;
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 18px;
  cursor: pointer; }

.issue-labels__form,
.label-list__form,
.label-create-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px; }
  .issue-labels__form input,
  .issue-labels__form select,
  .issue-labels__form button,
  .label-list__form input,
  .label-list__form select,
  .label-list__form button,
  .label-create-form input,
  .label-create-form select,
  .label-create-form button {
    width: auto; }

.label-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px; }

.label-list__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--theme-border);
  border-radius: 6px; }

.issue-assignees__header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--theme-muted); }
  .issue-assignees__header h2 {
    margin: 0;
    font-size: 14px;
    color: var(--theme-text); }

.issue-assignees__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px; }

.issue-assignee {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border: 1px solid var(--theme-border);
  border-radius: 4px;
  background: var(--theme-surface); }

.issue-assignee__user {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  text-decoration: none; }
  .issue-assignee__user img {
    width: 20px;
    height: 20px;
    border-radius: 50%; }

.issue-assignee__remove {
  padding: 2px 5px;
  font-size: 12px; }

.issue-assignees__form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px; }
  .issue-assignees__form label {
    font-size: 13px;
    font-weight: 600; }
  .issue-assignees__form select,
  .issue-assignees__form button {
    width: auto; }

@media (max-width: 600px) {
  .issue-assignees {
    margin-left: 0; }
  .issue-labels {
    margin-left: 0; } }

.comment {
  margin-left: 20px;
  margin-top: 20px; }

.pr-ci {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 14px;
  margin: 16px 0;
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  background: var(--theme-raised); }

.pr-ci__details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px; }

.pr-ci__status {
  display: inline-block;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  background: var(--theme-hover);
  color: var(--theme-muted); }
  .pr-ci__status.ci-failure {
    color: var(--theme-danger);
    background: var(--theme-danger-bg); }
  .pr-ci__status.ci-success {
    color: var(--theme-success);
    background: var(--theme-success-bg); }
  .pr-ci__status.ci-running {
    color: var(--theme-warning);
    background: var(--theme-warning-bg); }

.pr-action--ai {
  display: inline-block;
  background: var(--theme-blue-button);
  border-color: var(--theme-link);
  color: #fff !important;
  text-align: center;
  text-decoration: none; }
  .pr-action--ai:hover {
    background: var(--theme-blue-button);
    border-color: var(--theme-link); }

.ai-fix-header {
  margin: 20px 0 16px; }
  .ai-fix-header h1 {
    margin: 10px 0 4px;
    font-size: 24px; }
  .ai-fix-header p {
    color: var(--theme-muted);
    overflow-wrap: anywhere; }

.ai-fix-context {
  padding: 12px 14px;
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  background: var(--theme-raised);
  margin-bottom: 20px; }
  .ai-fix-context p + p {
    margin-top: 5px; }
  .ai-fix-context code {
    overflow-wrap: anywhere; }

.ai-fix-form {
  max-width: 680px; }
  .ai-fix-form > label {
    display: block;
    font-weight: 600;
    margin: 16px 0 6px; }
  .ai-fix-form > input,
  .ai-fix-form > select {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--theme-border);
    border-radius: 5px;
    font-size: 14px;
    background: var(--theme-surface); }
  .ai-fix-form > input[type="hidden"] {
    display: none; }
  .ai-fix-form > input:focus,
  .ai-fix-form > select:focus {
    outline: 2px solid var(--theme-link);
    outline-offset: 2px; }

.ai-fix-help {
  color: var(--theme-muted);
  font-size: 12px;
  font-weight: 400;
  margin-top: 5px; }

.ai-fix-notice {
  padding: 12px 14px;
  margin-top: 20px;
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  background: var(--theme-raised); }
  .ai-fix-notice p + p {
    margin-top: 8px; }

.ai-fix-error {
  padding: 12px 14px;
  border: 1px solid #ff8182;
  border-radius: 6px;
  margin-bottom: 16px;
  background: var(--theme-danger-bg);
  color: var(--theme-danger); }

.ai-fix-review h2 {
  padding: 0;
  margin-bottom: 10px; }

.ai-fix-review p {
  margin: 10px 0; }

.ai-fix-summary {
  white-space: pre-wrap;
  overflow-wrap: anywhere; }

.ai-fix-patch {
  max-height: 560px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  background: var(--theme-raised);
  font-family: var(--theme-font);
  font-size: 12px;
  line-height: 1.6;
  white-space: pre;
  overflow: auto; }

.ai-fix-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px; }

.profile-block-container {
  display: grid;
  grid-template-areas: "profile repos";
  grid-template-columns: 260px 1fr; }

.profile-block__left {
  grid-area: profile;
  max-width: 300px; }

.profile-block__right {
  grid-area: repos;
  padding-left: 10px;
  padding-top: 10px;
  width: 100%; }

.profile-activities {
  margin-top: 25px; }

.profile-repos-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 12px; }
  .profile-repos-header h2 {
    margin: 0;
    font-size: 18px; }

.profile-repos-empty {
  color: var(--theme-muted);
  font-size: 14px;
  margin: 0; }

.activity {
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  padding: 10px;
  margin-top: 10px; }

.new-ssh-key-block {
  border-bottom: 1px solid var(--theme-border);
  padding-bottom: 10px;
  margin: 10px 0 10px 0; }

.ssh-key {
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  padding: 10px;
  margin-top: 10px; }

.ssh-key-remove {
  margin-top: 10px; }

.profile-repo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px; }
  @media (max-width: 640px) {
    .profile-repo-grid {
      grid-template-columns: minmax(0, 1fr); } }
.profile-repo-card {
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 112px;
  background: var(--theme-surface);
  transition: border-color 0.1s; }
  @media (max-width: 640px) {
    .profile-repo-card {
      min-height: 0; } }
  .profile-repo-card:hover {
    border-color: var(--theme-muted); }

.profile-repo-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px; }

.profile-repo-card__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 600;
  font-size: 14px; }
  .profile-repo-card__title .icon {
    flex: none;
    color: var(--theme-muted); }
  .profile-repo-card__title span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
  .profile-repo-card__title:hover span {
    text-decoration: underline; }

.profile-repo-card__badge {
  flex: none;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  padding: 0 7px;
  color: var(--theme-muted); }
  .profile-repo-card__badge--private {
    color: var(--theme-warning);
    border-color: #d4a72c;
    background: var(--theme-warning-bg); }

.profile-repo-card__desc {
  color: var(--theme-muted);
  font-size: 13px;
  margin: 0 0 12px;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; }

.profile-repo-card__footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  font-size: 12px;
  color: var(--theme-muted); }

.profile-repo-card__lang,
.profile-repo-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 4px; }

.profile-repo-card__meta .icon {
  width: 14px;
  height: 14px; }

.profile-repo-card__lang-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%; }

.user-profile {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 32px 0 0; }
  .user-profile h1,
  .user-profile h2 {
    padding: 0;
    margin: 0; }
  @media (max-width: 1040px) {
    .user-profile {
      padding: 24px 16px 0; } }
  @media (max-width: 760px) {
    .user-profile {
      grid-template-columns: minmax(0, 1fr);
      gap: 32px; } }
.user-profile__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px; }
  @media (max-width: 760px) {
    .user-profile__sidebar {
      display: grid;
      grid-template-columns: 80px minmax(0, 1fr);
      align-items: center;
      gap: 16px; }
      .user-profile__sidebar .user-profile__edit,
      .user-profile__sidebar .user-profile__meta {
        grid-column: 1 / -1; } }
.user-profile__avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid var(--theme-border);
  background: var(--theme-raised);
  overflow: hidden; }
  .user-profile__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; }

a.user-profile__avatar img {
  transition: opacity 0.15s; }

a.user-profile__avatar:hover img {
  opacity: 0.85; }

.user-profile__names {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25; }

.user-profile__full-name {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--theme-text);
  overflow-wrap: anywhere; }

.user-profile__username {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.25;
  color: var(--theme-muted);
  overflow-wrap: anywhere; }

.user-profile__button {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  background: var(--theme-raised);
  color: var(--theme-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  transition: background-color 0.1s, border-color 0.1s; }
  .user-profile__button:hover {
    background: var(--theme-hover);
    border-color: var(--theme-muted); }
  .user-profile__button--primary {
    background: #1f883d;
    border-color: var(--theme-border);
    color: #ffffff; }
    .user-profile__button--primary:hover {
      background: #1a7f37;
      color: #ffffff; }

.user-profile__edit {
  display: block; }

.user-profile__meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--theme-border);
  color: var(--theme-muted);
  font-size: 14px; }
  .user-profile__meta li {
    display: flex;
    align-items: center;
    gap: 8px; }
  .user-profile__meta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--theme-muted); }
    .user-profile__meta a:hover {
      color: var(--theme-link); }
  .user-profile__meta .icon {
    flex: none; }

.user-profile__counter {
  display: inline-block;
  min-width: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(175, 184, 193, 0.25);
  color: var(--theme-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  text-align: center; }

.user-profile__main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0; }

.user-profile__section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px; }
  .user-profile__section-header h2 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--theme-text); }
  .user-profile__section-header a {
    font-size: 13px; }

.user-profile__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 16px;
  border: 1px dashed var(--theme-border);
  border-radius: 6px;
  color: var(--theme-muted);
  text-align: center; }
  .user-profile__empty .icon {
    width: 24px;
    height: 24px; }

.user-profile__heatmap {
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  padding: 16px; }

.user-profile__heatmap-scroll {
  overflow-x: auto;
  padding-right: 4px;
  direction: rtl; }

.user-profile__heatmap-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: auto repeat(7, auto);
  grid-template-columns: max-content;
  grid-auto-columns: minmax(8px, 1fr);
  gap: 3px;
  min-width: min-content;
  direction: ltr; }

.user-profile__heatmap-month,
.user-profile__heatmap-weekday {
  font-size: 11px;
  line-height: 1;
  color: var(--theme-muted);
  white-space: nowrap; }

.user-profile__heatmap-month {
  padding-bottom: 4px; }

.user-profile__heatmap-weekday {
  align-self: center;
  padding-right: 6px; }

.user-profile__heatmap-cell {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  background: var(--theme-hover);
  outline: 1px solid rgba(27, 31, 36, 0.06);
  outline-offset: -1px; }
  .user-profile__heatmap-cell--empty {
    background: transparent;
    outline: none; }
  .user-profile__heatmap-cell[data-level="1"] {
    background: #17391f; }
  .user-profile__heatmap-cell[data-level="2"] {
    background: #246132; }
  .user-profile__heatmap-cell[data-level="3"] {
    background: #318b49; }
  .user-profile__heatmap-cell[data-level="4"] {
    background: #58bf74; }

.user-profile__heatmap-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--theme-muted); }
  .user-profile__heatmap-legend .user-profile__heatmap-cell {
    width: 10px;
    height: 10px; }
  .user-profile__heatmap-legend span:first-child {
    margin-right: 4px; }
  .user-profile__heatmap-legend span:last-child {
    margin-left: 4px; }

.user-profile__timeline {
  list-style: none;
  position: relative; }
  .user-profile__timeline::before {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 15px;
    width: 2px;
    background: var(--theme-border); }

.user-profile__timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px; }

.user-profile__timeline-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--theme-surface);
  background: var(--theme-hover);
  color: var(--theme-muted);
  z-index: 1; }

.user-profile__timeline-title {
  flex: 1;
  min-width: 0;
  color: var(--theme-text);
  font-weight: 500; }

.user-profile__timeline-date {
  flex: none;
  color: var(--theme-muted);
  font-size: 12px; }

.release {
  border: 1px solid var(--theme-border);
  border-radius: 3px;
  margin-top: 10px;
  padding: 10px; }

.feed-date-group {
  font-size: 24px;
  margin: 0 auto;
  padding: 20px;
  width: 200px; }

.search-repo-stars-count > svg {
  height: 12px;
  width: 12px; }

.search-info {
  margin-top: 10px; }
