@import url('/static/tw.css');

:root {
	color-scheme: light dark;
	font-family: InterVariable, system-ui, sans-serif, ui-sans-serif;
}

.untangled-new-pr-step {
	position: relative;
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 0.75rem;
}

.untangled-new-pr-heading {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.untangled-new-pr-step-line {
	position: absolute;
	left: 0.75rem;
	width: 1px;
	transform: translateX(-50%);
	background: rgb(229 231 235);
}

.untangled-new-pr-step-line-after {
	top: 0.75rem;
	bottom: -1.5rem;
}

.untangled-new-pr-step-line-before {
	top: -1.5rem;
}

.untangled-new-pr-step-line-through {
	bottom: -1.5rem;
}

.untangled-new-pr-step-line-fade {
	height: 3rem;
	-webkit-mask-image: linear-gradient(to bottom, black calc(100% - 1.5rem), transparent);
	mask-image: linear-gradient(to bottom, black calc(100% - 1.5rem), transparent);
}

.untangled-new-pr-step-line-before.untangled-new-pr-step-line-fade {
	bottom: auto;
}

.untangled-new-pr-diff {
	min-width: 0;
}

@media (prefers-color-scheme: dark) {
	.untangled-new-pr-step-line {
		background: rgb(55 65 81);
	}
}

.untangled-pr-detail {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2rem;
}

.untangled-pr-header-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 15rem;
	gap: 1rem;
	align-items: start;
}

.untangled-pr-summary-card {
	min-width: 0;
	border-radius: 0.25rem;
	background: rgb(255 255 255);
	padding: 1.5rem;
	color: rgb(17 24 39);
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.untangled-pr-meta {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 1.75rem;
	padding: 0.25rem 0;
	color: rgb(107 114 128);
}

.untangled-pr-meta-section h2 {
	margin: 0 0 0.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	color: rgb(75 85 99);
}

.untangled-pr-meta-section h2 span {
	display: inline-flex;
	min-width: 1.25rem;
	justify-content: center;
	border-radius: 0.25rem;
	background: rgb(229 231 235);
	padding: 0 0.25rem;
	font-size: 0.75rem;
}

.untangled-pr-meta-section p {
	margin: 0;
	font-size: 0.875rem;
}

.untangled-pr-meta-section code {
	font-size: 0.8125rem;
	color: rgb(17 24 39);
}

.untangled-pr-meta-action,
.untangled-pr-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgb(209 213 219);
	border-radius: 0.25rem;
	background: transparent;
	color: rgb(107 114 128);
}

.untangled-pr-meta-action {
	border: 0;
	padding: 0.125rem;
}

.untangled-pr-icon-button {
	width: 2rem;
	height: 2rem;
}

.untangled-pr-diff-breakout {
	position: relative;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
}

.untangled-pr-diff-toolbar {
	position: sticky;
	top: 0;
	z-index: 30;
	display: grid;
	grid-template-columns: 15.5rem minmax(0, 1fr) 29.5rem;
	gap: 1rem;
	align-items: center;
	padding: 0.5rem;
	background: rgb(241 245 249);
}

.untangled-pr-diff-toolbar-sidebar-collapsed {
	grid-template-columns: minmax(0, 1fr) 29.5rem;
}

.untangled-pr-diff-toolbar-history-collapsed {
	grid-template-columns: 15.5rem minmax(0, 1fr) 2.125rem;
}

.untangled-pr-diff-toolbar-sidebar-collapsed.untangled-pr-diff-toolbar-history-collapsed {
	grid-template-columns: minmax(0, 1fr) 2.125rem;
}

.untangled-pr-diff-toolbar-main {
	grid-column: 1 / 3;
	grid-row: 1;
	display: flex;
	min-width: 0;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.625rem;
	font-size: 0.875rem;
	color: rgb(107 114 128);
}

.untangled-pr-diff-toolbar-sidebar-collapsed .untangled-pr-diff-toolbar-main {
	grid-column: 1;
}

.untangled-pr-diff-toolbar-actions {
	grid-column: 2;
	grid-row: 1;
	justify-self: end;
}

.untangled-pr-diff-toolbar-sidebar-collapsed .untangled-pr-diff-toolbar-actions {
	grid-column: 1;
}

.untangled-pr-diff-toolbar-history {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
}

.untangled-pr-diff-toolbar-sidebar-collapsed .untangled-pr-diff-toolbar-history {
	grid-column: 2;
}

.untangled-pr-sidebar-toggle {
	display: inline-flex;
	min-height: 2.125rem;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border: 1px solid rgb(209 213 219);
	border-radius: 0.25rem;
	background: rgb(255 255 255);
	padding: 0 0.75rem;
	font-size: 0.875rem;
	color: rgb(31 41 55);
}

.untangled-pr-sidebar-toggle {
	width: 2.125rem;
	padding: 0;
}

.untangled-diff-stat-pill {
	display: inline-flex;
	align-items: center;
	overflow: hidden;
	border-radius: 0.25rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	font-size: 0.875rem;
	line-height: 1;
}

.untangled-diff-stat-pill span {
	padding: 0.375rem 0.5rem;
}

.untangled-diff-stat-add {
	background: rgb(220 252 231);
	color: rgb(21 128 61);
}

.untangled-diff-stat-del {
	background: rgb(254 226 226);
	color: rgb(185 28 28);
}

.untangled-pr-diff-grid {
	display: grid;
	grid-template-columns: 15.5rem minmax(0, 1fr) 29.5rem;
	gap: 1rem;
	align-items: start;
}

.untangled-pr-diff-grid-sidebar-collapsed {
	grid-template-columns: minmax(0, 1fr) 29.5rem;
}

.untangled-pr-diff-grid-history-collapsed {
	grid-template-columns: 15.5rem minmax(0, 1fr);
}

.untangled-pr-diff-grid-sidebar-collapsed.untangled-pr-diff-grid-history-collapsed {
	grid-template-columns: minmax(0, 1fr);
}

.untangled-pr-file-tree {
	position: sticky;
	top: 3rem;
	max-height: calc(100vh - 3rem);
	overflow: auto;
	min-height: calc(100vh - 3rem);
	border: 1px solid rgb(229 231 235);
	border-top: 0;
	border-radius: 0 0 0.25rem 0.25rem;
	background: rgb(255 255 255);
	padding: 0.75rem 0.75rem 1.5rem;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.untangled-pr-file-tree-list {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 0.125rem;
}

.untangled-pr-file-tree-node {
	min-width: 0;
}

.untangled-pr-file-tree-children {
	margin-left: 0.25rem;
	border-left: 1px solid rgb(209 213 219);
	padding-left: 0.5rem;
}

.untangled-pr-file-tree-entry {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 0.375rem;
	min-height: 1.5rem;
	border-radius: 0.25rem;
	padding-top: 0.125rem;
	padding-right: 0.25rem;
	padding-bottom: 0.125rem;
	padding-left: 0;
	color: rgb(55 65 81);
	font-size: 0.875rem;
	text-decoration: none;
}

.untangled-pr-file-tree-link:hover,
.untangled-pr-file-tree-entry:hover {
	background: rgb(243 244 246);
	text-decoration: none;
}

.untangled-pr-diff-files {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 1rem;
}

.untangled-pr-diff-file {
	scroll-margin-top: 4rem;
	overflow: visible;
	border: 1px solid rgb(209 213 219);
	border-radius: 0.25rem;
	background: rgb(255 255 255);
}

.untangled-pr-diff-file-header {
	position: sticky;
	top: 3rem;
	z-index: 20;
	display: flex;
	min-height: 2.75rem;
	cursor: pointer;
	list-style: none;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0 1rem;
	background: rgb(31 41 55);
}

.untangled-pr-diff-file-header::-webkit-details-marker {
	display: none;
}

.untangled-pr-diff-file[open] .untangled-pr-diff-chevron {
	transform: rotate(90deg);
}

.untangled-pr-diff-ellipsis {
	background: rgb(55 65 81);
	padding: 0.125rem 0;
	text-align: center;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	color: rgb(209 213 219);
}

.untangled-pr-history {
	position: sticky;
	top: 3rem;
	max-height: calc(100vh - 3rem);
	overflow: auto;
	padding-right: 0.5rem;
}

.untangled-pr-history-card {
	overflow: hidden;
	border: 1px solid rgb(209 213 219);
	border-radius: 0.25rem;
	background: rgb(255 255 255);
}

.untangled-pr-history-card > header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-bottom: 1px solid rgb(229 231 235);
	padding: 0.75rem 1rem;
}

.untangled-pr-history-card h2 {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
}

.untangled-pr-history-card header div {
	display: flex;
	gap: 1rem;
	font-size: 0.875rem;
	color: rgb(75 85 99);
}

.untangled-pr-history-submission {
	display: flex;
	width: 100%;
	gap: 0.75rem;
	border: 0;
	padding: 1rem;
	background: transparent;
	color: inherit;
	text-align: left;
}

.untangled-pr-history-submission:hover,
.untangled-pr-history-submission-active {
	background: rgb(239 246 255);
}

.untangled-pr-history-event {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0.125rem 1rem;
	border: 1px solid transparent;
	border-radius: 0.25rem;
	padding: 0.75rem 1rem;
	font-weight: 500;
}

.untangled-pr-history-event-merged {
	border-color: rgb(168 85 247);
	background: rgb(126 34 206);
	color: rgb(250 245 255);
}

.untangled-pr-history-event-closed {
	border-color: rgb(239 68 68);
	background: rgb(127 29 29);
	color: rgb(254 242 242);
}

.untangled-pr-history-event-open {
	border-color: rgb(34 197 94);
	background: rgb(22 101 52);
	color: rgb(240 253 244);
}

.untangled-pr-history-comment {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	border-top: 1px solid rgb(229 231 235);
	padding: 1rem;
}

@media (prefers-color-scheme: dark) {
	.untangled-pr-summary-card,
	.untangled-pr-sidebar-toggle,
	.untangled-pr-file-tree,
	.untangled-pr-diff-file,
	.untangled-pr-history-card {
		background: rgb(31 41 55);
		color: rgb(243 244 246);
	}

	.untangled-pr-meta,
	.untangled-pr-meta-section p {
		color: rgb(156 163 175);
	}

	.untangled-pr-meta-section h2 {
		color: rgb(209 213 219);
	}

	.untangled-pr-meta-section h2 span {
		background: rgb(75 85 99);
		color: rgb(243 244 246);
	}

	.untangled-pr-meta-section code {
		color: rgb(243 244 246);
	}

	.untangled-pr-meta-action,
	.untangled-pr-icon-button {
		border-color: rgb(55 65 81);
		color: rgb(156 163 175);
	}

	.untangled-pr-sidebar-toggle,
	.untangled-pr-diff-file,
	.untangled-pr-history-card {
		border-color: rgb(55 65 81);
	}

	.untangled-pr-file-tree {
		border-color: rgb(55 65 81);
	}

	.untangled-diff-stat-add {
		background: rgb(22 101 52 / 0.5);
		color: rgb(74 222 128);
	}

	.untangled-diff-stat-del {
		background: rgb(127 29 29 / 0.5);
		color: rgb(248 113 113);
	}

	.untangled-pr-file-tree-entry {
		color: rgb(229 231 235);
	}

	.untangled-pr-file-tree-children {
		border-color: rgb(75 85 99);
	}

	.untangled-pr-file-tree-entry:hover {
		background: rgb(31 41 55);
	}

	.untangled-pr-history-card > header,
	.untangled-pr-history-comment {
		border-color: rgb(55 65 81);
	}

	.untangled-pr-history-card header div {
		color: rgb(209 213 219);
	}

	.untangled-pr-diff-toolbar {
		background: rgb(17 24 39);
	}

	.untangled-pr-history-submission:hover,
	.untangled-pr-history-submission-active {
		background: rgb(30 64 175 / 0.45);
	}
}

@media (max-width: 1023px) {
	.untangled-pr-header-grid,
	.untangled-pr-diff-grid,
	.untangled-pr-diff-grid-sidebar-collapsed,
	.untangled-pr-diff-grid-history-collapsed,
	.untangled-pr-diff-toolbar,
	.untangled-pr-diff-toolbar-sidebar-collapsed,
	.untangled-pr-diff-toolbar-history-collapsed {
		grid-template-columns: minmax(0, 1fr);
	}

	.untangled-pr-diff-toolbar-main,
	.untangled-pr-diff-toolbar-actions,
	.untangled-pr-diff-toolbar-history,
	.untangled-pr-diff-toolbar-sidebar-collapsed .untangled-pr-diff-toolbar-main,
	.untangled-pr-diff-toolbar-sidebar-collapsed .untangled-pr-diff-toolbar-actions,
	.untangled-pr-diff-toolbar-sidebar-collapsed .untangled-pr-diff-toolbar-history {
		grid-column: 1;
	}

	.untangled-pr-file-tree,
	.untangled-pr-history {
		position: static;
		max-height: none;
	}

	.untangled-pr-file-tree {
		display: none;
	}

}

@media (max-width: 767px) {
	.untangled-pr-diff-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.untangled-pr-summary-card {
		padding: 1rem;
	}

	.untangled-thread-meta {
		padding: 0.25rem 0.25rem 0.5rem;
	}
}

html,
body,
#root {
	min-height: 100%;
}

body {
	margin: 0;
	background: rgb(243 244 246);
	color: rgb(15 23 42);
	transition:
		background-color 200ms,
		color 200ms;
}

@media (prefers-color-scheme: dark) {
	body {
		background: rgb(17 24 39);
		color: rgb(243 244 246);
	}
}

* {
	box-sizing: border-box;
}

a {
	color: inherit;
}

button,
input,
select,
textarea {
	font: inherit;
}

img {
	max-width: 100%;
}

pre {
	overflow: auto;
}

.untangled-focus:focus-visible {
	outline: 2px solid rgb(59 130 246);
	outline-offset: 2px;
}

.untangled-prose a {
	text-decoration: underline;
}

.untangled-prose pre {
	padding: 1rem;
	border-radius: 0.25rem;
	background: rgb(15 23 42);
	color: rgb(226 232 240);
}

.untangled-prose code {
	background: rgb(226 232 240 / 0.7);
	padding: 0.125rem 0.375rem;
	border-radius: 0.25rem;
}

@media (prefers-color-scheme: dark) {
	.untangled-prose code {
		background: rgb(51 65 85 / 0.8);
	}
}

.untangled-shell {
	width: 100%;
	max-width: 1126px;
	padding-bottom: max(2rem, calc(1.5rem + env(safe-area-inset-bottom)));
}

.untangled-repo-frame-full {
	box-sizing: border-box;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: 0.25rem;
	padding-right: 0.25rem;
	width: 100vw;
}

.untangled-skeleton {
	background: rgb(229 231 235);
	position: relative;
	overflow: hidden;
}

.untangled-skeleton-on-dark {
	background: rgb(75 85 99);
}

.untangled-skeleton::after {
	animation: untangled-skeleton-shimmer 1.4s ease-in-out infinite;
	background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.55), transparent);
	content: '';
	inset: 0;
	position: absolute;
	transform: translateX(-100%);
}

@media (prefers-color-scheme: dark) {
	.untangled-skeleton {
		background: rgb(55 65 81);
	}

	.untangled-skeleton::after {
		background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.08), transparent);
	}

	.untangled-file-row-loading {
		background: rgb(255 255 255 / 0.06);
	}
}

@media (prefers-reduced-motion: reduce) {
	.untangled-skeleton::after {
		animation: none;
	}

	.untangled-file-row-loading {
		animation: none;
	}
}

@keyframes untangled-skeleton-shimmer {
	100% {
		transform: translateX(100%);
	}
}

@keyframes untangled-file-row-breathe {
	0%,
	100% {
		opacity: 0.88;
	}

	50% {
		opacity: 1;
	}
}

.untangled-skeleton-file-row {
	align-items: center;
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1fr) 8rem;
}

.untangled-skeleton-code-line {
	align-items: center;
	display: grid;
	gap: 0.75rem;
	grid-template-columns: 2.5rem minmax(0, 1fr);
}

.untangled-overlap-avatars > * + * {
	margin-left: -0.625rem;
}

.untangled-overlap-avatars > * {
	border: 1px solid rgb(17 24 39);
}

.untangled-at-uri-panel {
	min-width: 0;
}

.untangled-at-uri-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	color: rgb(107 114 128);
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
}

.untangled-at-uri-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.untangled-at-uri-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	padding: 0;
	color: rgb(107 114 128);
	text-decoration: none;
}

.untangled-at-uri-action:hover {
	color: rgb(55 65 81);
	text-decoration: none;
}

.untangled-at-uri {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	white-space: nowrap;
	color: rgb(55 65 81);
	cursor: pointer;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	font-size: 0.875rem;
	user-select: all;
}

@media (prefers-color-scheme: dark) {
	.untangled-at-uri-header,
	.untangled-at-uri-action {
		color: rgb(156 163 175);
	}

	.untangled-at-uri-action:hover {
		color: rgb(229 231 235);
	}

	.untangled-at-uri {
		color: rgb(209 213 219);
	}
}


.untangled-repo-overview {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0.5rem;
}

.untangled-repo-overview--path {
	grid-template-columns: minmax(0, 1fr);
}

.untangled-file-tree-pane {
	border-right: 1px solid rgb(55 65 81);
}

.untangled-repo-overview--path .untangled-file-tree-pane {
	border-right: 0;
	padding-right: 0;
}

.untangled-language-bar {
	display: flex;
	gap: 1px;
	height: 1rem;
	overflow: hidden;
	padding: 0;
	border-radius: 0.25rem 0.25rem 0 0;
	transform: scaleY(0.5);
	transform-origin: top;
	transition: transform 150ms;
	cursor: pointer;
	list-style: none;
}

.untangled-language-bar::-webkit-details-marker {
	display: none;
}

.untangled-language-bar::marker {
	content: '';
}

.untangled-language-bar:hover,
details[open] > .untangled-language-bar {
	transform: scaleY(1);
}

.untangled-language-segment {
	height: 100%;
	min-width: 1px;
}

.untangled-home-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 1.25rem;
	align-items: start;
}

.untangled-home-grid > :first-child {
	padding: 1.5rem;
}

.untangled-home-grid > :first-child > .flex:first-child {
	margin-bottom: 1.5rem;
}

.untangled-home-grid form .flex {
	align-items: stretch;
}

.untangled-home-grid form button {
	min-width: 4.5rem;
	justify-content: center;
}

.untangled-home-grid form button:hover {
	color: rgb(255 255 255);
}

.untangled-home-grid a {
	transition:
		background-color 150ms,
		border-color 150ms,
		color 150ms,
		transform 150ms;
}

.untangled-home-grid a:hover {
	background: rgb(249 250 251);
	border-color: rgb(156 163 175);
	color: inherit;
}

.untangled-home-grid > :first-child a {
	display: block;
	min-width: 0;
}

.untangled-home-grid > .flex.flex-col.gap-4 {
	min-height: 0;
}

.untangled-home-grid > .flex.flex-col.gap-4 > .rounded {
	display: flex;
	min-height: 0;
	flex-direction: column;
	padding: 1.25rem;
}

.untangled-home-grid > .flex.flex-col.gap-4 > .rounded > .flex.flex-col.gap-2 {
	max-height: 16rem;
	overflow-y: auto;
	padding-right: 0.125rem;
}

.untangled-home-grid > .flex.flex-col.gap-4 > .rounded a {
	display: block;
}

.untangled-home-grid > .flex.flex-col.gap-4 > .rounded a:hover {
	background: rgb(249 250 251);
}

@media (prefers-color-scheme: dark) {
	.untangled-home-grid a:hover,
	.untangled-home-grid > .flex.flex-col.gap-4 > .rounded a:hover {
		background: rgb(55 65 81 / 0.4);
		border-color: rgb(75 85 99);
		color: rgb(243 244 246);
	}
}

.untangled-safe-footer {
	padding-bottom: env(safe-area-inset-bottom);
}

.untangled-safe-header {
	padding-top: env(safe-area-inset-top);
}

.untangled-unread-badge {
	font-size: 11px;
}

.untangled-branch-select,
.untangled-toggle-button {
	min-height: 34px;
}

.untangled-toggle-button {
	background: transparent;
	color: rgb(75 85 99);
}

.untangled-toggle-button-idle:hover {
	background: rgb(249 250 251);
	color: rgb(17 24 39);
}

.untangled-toggle-button-active {
	background: rgb(229 231 235);
	color: rgb(17 24 39);
}

.untangled-toggle-button-active:hover {
	background: rgb(243 244 246);
	color: rgb(17 24 39);
}

.untangled-toggle-button-meta-idle {
	color: rgb(156 163 175);
}

.untangled-toggle-button-meta-active,
.untangled-toggle-button-idle:hover .untangled-toggle-button-meta {
	color: rgb(107 114 128);
}

@media (prefers-color-scheme: dark) {
	.untangled-toggle-button {
		color: rgb(209 213 219);
	}

	.untangled-toggle-button-idle:hover {
		background: rgb(55 65 81 / 0.5);
		color: rgb(243 244 246);
	}

	.untangled-toggle-button-active {
		background: rgb(55 65 81);
		color: rgb(243 244 246);
	}

	.untangled-toggle-button-active:hover {
		background: rgb(75 85 99);
		color: rgb(243 244 246);
	}

	.untangled-toggle-button-meta-idle {
		color: rgb(107 114 128);
	}

	.untangled-toggle-button-meta-active,
	.untangled-toggle-button-idle:hover .untangled-toggle-button-meta {
		color: rgb(156 163 175);
	}
}

.untangled-button {
	min-height: 30px;
}

.untangled-clone-dropdown {
	position: relative;
	display: inline-flex;
}

.untangled-clone-popover {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	z-index: 70;
	width: min(calc(100vw - 2rem), 27.5rem);
	overflow: visible;
	border: 1px solid rgb(229 231 235);
	border-radius: 0.25rem;
	background: rgb(255 255 255);
	padding: 1rem;
	color: rgb(17 24 39);
	box-shadow:
		0 10px 15px -3px rgb(0 0 0 / 0.1),
		0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.untangled-clone-url-row {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid rgb(209 213 219);
	border-radius: 0.25rem;
}

.untangled-clone-url-text {
	min-width: 0;
	flex: 1;
	overflow-x: auto;
	background: rgb(229 231 235);
	padding: 0.5rem 0.75rem;
	color: rgb(17 24 39);
	font-family: IBMPlexMono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
	font-size: 0.875rem;
	white-space: nowrap;
	cursor: pointer;
	user-select: all;
}

.untangled-clone-copy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-left: 1px solid rgb(209 213 219);
	background: rgb(255 255 255);
	padding: 0 0.75rem;
	color: rgb(107 114 128);
}

.untangled-clone-copy:hover {
	color: rgb(55 65 81);
}

.untangled-input {
	min-height: 38px;
}

.untangled-textarea {
	min-height: 140px;
}

.untangled-topbar-search-box {
	position: relative;
	display: flex;
	max-height: 30px;
	width: 20rem;
	align-items: center;
	gap: 0.5rem;
	border: 1px solid rgb(229 231 235);
	border-radius: 0.25rem;
	background: rgb(255 255 255);
	padding: 1rem 0.375rem 1rem 0.5rem;
}

.untangled-topbar-search-box:focus-within {
	z-index: 51;
	outline: 2px solid rgb(209 213 219);
	outline-offset: 1px;
}

.untangled-topbar-search-input {
	min-width: 0;
	flex: 1;
	border: 0;
	border-color: transparent;
	border-radius: 0;
	background: transparent;
	padding: 0;
	color: rgb(31 41 55);
	font-size: 0.875rem;
	line-height: 1.25rem;
	outline: none;
}

.untangled-topbar-search-input:focus {
	border: 0;
	border-color: transparent;
	box-shadow: none;
	outline: none;
}

.untangled-topbar-search-input::placeholder {
	color: rgb(156 163 175);
}

.untangled-topbar-search-kbd {
	display: flex;
	align-items: center;
	border: 1px solid rgb(229 231 235);
	border-bottom-width: 2px;
	border-radius: 0.25rem;
	padding: 0 0.25rem;
	color: rgb(156 163 175);
	font-family: inherit;
	font-size: 0.75rem;
	line-height: 1.25rem;
	pointer-events: none;
}

.untangled-topbar-search-input:focus + .untangled-topbar-search-kbd,
.untangled-topbar-search-box:focus-within .untangled-topbar-search-kbd,
.untangled-topbar-search-input:not(:placeholder-shown) + .untangled-topbar-search-kbd {
	display: none;
}

.untangled-file-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) max-content;
	align-items: center;
	gap: 1rem;
	padding: 0.25rem 0.5rem 0.25rem 0;
	text-decoration: none;
}

.untangled-file-row-loading {
	animation: untangled-file-row-breathe 1.1s ease-in-out infinite;
	background: rgb(17 24 39 / 0.035);
	border-radius: 0.25rem;
}

.untangled-file-row-time {
	text-align: right;
	white-space: nowrap;
}

.untangled-filter-grid {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 0.5rem;
}

.untangled-repo-filter-search {
	position: relative;
	display: flex;
	min-width: 0;
}

.untangled-repo-filter-input {
	min-width: 0;
	flex: 1;
	border: 1px solid rgb(209 213 219);
	border-radius: 0.25rem 0 0 0.25rem;
	background: rgb(255 255 255);
	padding: 0.25rem 2.5rem 0.25rem 0.5rem;
	color: rgb(17 24 39);
	font-size: 0.875rem;
	line-height: 1.5rem;
	outline: none;
}

.untangled-repo-filter-input:focus {
	border-color: rgb(156 163 175);
	box-shadow: 0 0 0 1px rgb(156 163 175);
	z-index: 1;
}

.untangled-repo-filter-input::placeholder {
	color: rgb(156 163 175);
}

.untangled-repo-filter-reset {
	position: absolute;
	right: 2.75rem;
	top: 50%;
	display: none;
	color: rgb(156 163 175);
	transform: translateY(-50%);
}

.untangled-repo-filter-input:not(:placeholder-shown) + .untangled-repo-filter-reset {
	display: block;
}

.untangled-repo-filter-reset:hover {
	color: rgb(75 85 99);
}

.untangled-repo-filter-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	border: 1px solid rgb(209 213 219);
	border-left: 0;
	border-radius: 0 0.25rem 0.25rem 0;
	background: rgb(255 255 255);
	color: rgb(156 163 175);
}

.untangled-repo-filter-submit:hover {
	color: rgb(31 41 55);
}

.untangled-search-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

.untangled-search-main {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 1rem;
}

.untangled-search-sidebar {
	display: none;
}

.untangled-search-page-input {
	min-width: 0;
	flex: 1;
	border: 1px solid rgb(209 213 219);
	border-radius: 0.25rem 0 0 0.25rem;
	background: rgb(255 255 255);
	margin-right: -1px;
	padding: 0.25rem 2.5rem 0.25rem 0.5rem;
	color: rgb(17 24 39);
	outline: none;
}

.untangled-search-page-input::placeholder {
	color: rgb(156 163 175);
}

.untangled-search-page-input:focus {
	border-color: rgb(156 163 175);
	box-shadow: 0 0 0 1px rgb(156 163 175);
	z-index: 1;
}

.untangled-search-page-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgb(209 213 219);
	border-radius: 0 0.25rem 0.25rem 0;
	padding: 0.5rem;
	background: rgb(255 255 255);
	color: rgb(156 163 175);
}

.untangled-search-page-submit:hover {
	color: rgb(75 85 99);
}

.untangled-search-type-dot {
	width: 0.5rem;
	height: 0.5rem;
	flex-shrink: 0;
	border-radius: 9999px;
	background: radial-gradient(circle at 35% 35%, rgb(156 163 175), rgb(107 114 128) 30%, rgb(75 85 99));
}

.untangled-search-description {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

@media (min-width: 1024px) {
	.untangled-topbar-search-box {
		width: 24rem;
	}
}

@media (min-width: 768px) {
	.untangled-search-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.untangled-search-main {
		grid-column: span 3 / span 3;
	}

	.untangled-search-sidebar {
		position: sticky;
		top: 0.5rem;
		display: block;
		align-self: start;
	}
}

.untangled-repo-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	width: fit-content;
}

.untangled-repo-action {
	position: relative;
	z-index: 10;
	display: flex;
	width: 100%;
	min-height: 32px;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid rgb(209 213 219);
	border-radius: 0.25rem;
	background: rgb(255 255 255);
	color: inherit;
	font-size: 0.875rem;
	line-height: 1.25rem;
	text-decoration: none;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.untangled-repo-action::before {
	position: absolute;
	inset: 0;
	z-index: -10;
	display: block;
	border-radius: 0.125rem;
	box-shadow: inset 0 -2px 0 0 #e5e7eb;
	content: '';
	transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.untangled-repo-action:hover {
	text-decoration: none;
}

.untangled-repo-action-main,
.untangled-repo-action-count {
	display: inline-flex;
	align-items: center;
}

.untangled-repo-action-main {
	gap: 0.5rem;
	padding: 0 0.75rem;
	flex: 1 1 auto;
	justify-content: center;
	position: relative;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font: inherit;
	text-decoration: none;
}

.untangled-repo-action-main:disabled {
	cursor: not-allowed;
	opacity: 0.5;
	pointer-events: none;
}

.untangled-repo-action-main:hover,
.untangled-repo-action-count:hover {
	background: rgb(249 250 251);
	text-decoration: none;
}

.untangled-repo-action-count {
	border-left: 1px solid rgb(209 213 219);
	background: rgb(249 250 251);
	padding: 0 0.75rem;
	position: relative;
	text-decoration: none;
}

.untangled-repo-action-count[aria-disabled='true'] {
	color: rgb(107 114 128);
	pointer-events: none;
}

.untangled-repo-tab {
	min-width: 80px;
}

.group:hover .untangled-repo-tab-idle {
	background: rgb(243 244 246 / 0.25);
}

.untangled-topic {
	border-radius: 0.25rem;
	background: rgb(229 231 235);
	padding: 0.125rem 0.25rem;
	font-size: 0.875rem;
}

.untangled-anywhere {
	overflow-wrap: anywhere;
}

.untangled-readme-prose,
.untangled-readme-prose.prose {
	max-width: none;
	overflow-wrap: normal;
	word-break: normal;
}

.untangled-readme-prose p,
.untangled-readme-prose li {
	max-width: none;
	overflow-wrap: normal;
	word-break: normal;
}

.untangled-blob-card {
	overflow: hidden;
	border-radius: 0.25rem;
	background: rgb(255 255 255);
	padding: 1rem 1.5rem;
}

.untangled-blob-file-info a,
.untangled-blob-file-info button {
	border: 0;
	background: transparent;
	color: inherit;
	padding: 0;
	text-decoration: none;
}

.untangled-blob-file-info a:hover,
.untangled-blob-file-info button:hover {
	text-decoration: underline;
}

.untangled-blob-rendered,
.untangled-blob-preview,
.untangled-blob-message {
	padding: 0;
}

.untangled-blob-rendered > .untangled-readme-prose,
.untangled-blob-rendered > .untangled-readme-prose.prose {
	width: 100%;
	max-width: none;
}

.untangled-blob-rendered > .untangled-readme-prose > * {
	max-width: none;
}

.untangled-blob-rendered > .untangled-readme-prose > :first-child {
	margin-top: 0;
}

.untangled-blob-rendered > .untangled-readme-prose > :last-child {
	margin-bottom: 0;
}

.untangled-blob-commit-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	border-bottom: 1px solid rgb(229 231 235);
	margin-bottom: 0.75rem;
	padding: 0 0 0.5rem;
	font-size: 0.875rem;
}

.untangled-blob-commit-link {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	border-radius: 0.25rem;
	background: rgb(243 244 246);
	padding: 0.25rem 0.5rem;
	color: rgb(55 65 81);
	font-family:
		IBMPlexMono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
	font-size: 0.75rem;
	line-height: 1rem;
	text-decoration: none;
}

.untangled-blob-commit-link:hover {
	text-decoration: underline;
}

.untangled-code-scroll {
	overflow: auto;
	position: relative;
	/* padding: 0.875rem 0; */
}

.untangled-code-view {
	--untangled-code-fg: #4c4f69;
	--untangled-code-muted: #8c8fa1;
	--untangled-code-keyword: #8839ef;
	--untangled-code-constant: #fe640b;
	--untangled-code-declaration: #d20f39;
	--untangled-code-namespace: #179299;
	--untangled-code-name: #1e66f5;
	--untangled-code-builtin: #04a5e5;
	--untangled-code-class: #df8e1d;
	--untangled-code-variable: #dc8a78;
	--untangled-code-string: #40a02b;
	--untangled-code-comment: #9ca0b0;
	--untangled-code-operator: #04a5e5;
	display: table;
	min-width: 100%;
	font-family: IBMPlexMono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
	font-size: 0.875rem;
	line-height: 1.55;
	white-space: pre;
	color: var(--untangled-code-fg);
}

.untangled-code-view-wrap {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

@media (prefers-color-scheme: dark) {
	.untangled-code-view {
		--untangled-code-fg: #cad3f5;
		--untangled-code-muted: #8087a2;
		--untangled-code-keyword: #c6a0f6;
		--untangled-code-constant: #f5a97f;
		--untangled-code-declaration: #ed8796;
		--untangled-code-namespace: #8bd5ca;
		--untangled-code-name: #8aadf4;
		--untangled-code-builtin: #91d7e3;
		--untangled-code-class: #eed49f;
		--untangled-code-variable: #f4dbd6;
		--untangled-code-string: #a6da95;
		--untangled-code-comment: #6e738d;
		--untangled-code-operator: #91d7e3;
	}
}

.untangled-code-line {
	display: table-row;
}

.untangled-code-line-number,
.untangled-code-line-content {
	display: table-cell;
}

.untangled-code-line-number {
	width: 1%;
	padding: 0 0.75rem 0 0.5rem;
	color: var(--untangled-code-muted);
	overflow-wrap: normal;
	white-space: nowrap;
	word-break: normal;
	text-align: right;
	text-decoration: none;
	user-select: none;
}

.untangled-code-line-number:hover {
	text-decoration: underline;
}

.untangled-code-line-content {
	padding-right: 1.5rem;
	color: var(--untangled-code-fg);
}

.untangled-code-diff-op {
	display: inline-block;
	min-width: 1ch;
	user-select: none;
}

.untangled-code-line-content .hljs-keyword,
.untangled-code-line-content .hljs-selector-tag,
.untangled-code-line-content .hljs-name,
.untangled-code-line-content .hljs-tag {
	color: var(--untangled-code-keyword);
}

.untangled-code-line-content .hljs-literal,
.untangled-code-line-content .hljs-number,
.untangled-code-line-content .hljs-symbol,
.untangled-code-line-content .hljs-bullet {
	color: var(--untangled-code-constant);
}

.untangled-code-line-content .hljs-built_in,
.untangled-code-line-content .hljs-builtin-name,
.untangled-code-line-content .hljs-type {
	color: var(--untangled-code-builtin);
}

.untangled-code-line-content .hljs-title,
.untangled-code-line-content .hljs-title.function_,
.untangled-code-line-content .hljs-function .hljs-title,
.untangled-code-line-content .hljs-selector-id {
	color: var(--untangled-code-name);
}

.untangled-code-line-content .hljs-title.class_,
.untangled-code-line-content .hljs-class .hljs-title,
.untangled-code-line-content .hljs-section,
.untangled-code-line-content .hljs-selector-class {
	color: var(--untangled-code-class);
}

.untangled-code-line-content .hljs-variable,
.untangled-code-line-content .hljs-template-variable,
.untangled-code-line-content .hljs-attr,
.untangled-code-line-content .hljs-attribute,
.untangled-code-line-content .hljs-property,
.untangled-code-line-content .hljs-params {
	color: var(--untangled-code-variable);
}

.untangled-code-line-content .hljs-string,
.untangled-code-line-content .hljs-regexp,
.untangled-code-line-content .hljs-template-tag,
.untangled-code-line-content .hljs-template-variable {
	color: var(--untangled-code-string);
}

.untangled-code-line-content .hljs-comment,
.untangled-code-line-content .hljs-quote {
	color: var(--untangled-code-comment);
	font-style: italic;
}

.untangled-code-line-content .hljs-doctag,
.untangled-code-line-content .hljs-meta {
	color: var(--untangled-code-comment);
	font-style: italic;
}

.untangled-code-line-content .hljs-operator,
.untangled-code-line-content .hljs-subst,
.untangled-code-line-content .hljs-link {
	color: var(--untangled-code-operator);
}

.untangled-code-line-content .hljs-deletion {
	color: var(--untangled-code-declaration);
}

.untangled-code-line-content .hljs-addition {
	color: var(--untangled-code-string);
}

.untangled-code-line-content .hljs-emphasis {
	font-style: italic;
}

.untangled-code-line-content .hljs-strong {
	font-weight: 700;
}

.untangled-code-line-add .untangled-code-line-number,
.untangled-code-line-add .untangled-code-line-content {
	background: rgb(220 252 231);
	color: rgb(21 128 61);
}

.untangled-code-line-del .untangled-code-line-number,
.untangled-code-line-del .untangled-code-line-content {
	background: rgb(254 226 226);
	color: rgb(185 28 28);
}

.untangled-code-line-hunk .untangled-code-line-number,
.untangled-code-line-hunk .untangled-code-line-content {
	background: rgb(219 234 254);
	color: rgb(30 64 175);
}

@media (prefers-color-scheme: dark) {
	.untangled-code-line-add .untangled-code-line-number,
	.untangled-code-line-add .untangled-code-line-content {
		background: rgb(20 83 45 / 0.35);
		color: rgb(187 247 208);
	}

	.untangled-code-line-del .untangled-code-line-number,
	.untangled-code-line-del .untangled-code-line-content {
		background: rgb(127 29 29 / 0.35);
		color: rgb(254 202 202);
	}

	.untangled-code-line-hunk .untangled-code-line-number,
	.untangled-code-line-hunk .untangled-code-line-content {
		background: rgb(30 58 138 / 0.3);
		color: rgb(191 219 254);
	}
}

.untangled-diff-view {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.untangled-commit-view,
.untangled-commit-diff,
.untangled-diff-view-commit {
	width: 100%;
}

.untangled-diff-panel {
	overflow: hidden;
	border: 1px solid rgb(229 231 235);
	border-radius: 0.25rem;
	background: rgb(255 255 255);
}

.untangled-diff-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: rgb(241 245 249);
	border-bottom: 1px solid rgb(229 231 235);
	padding: 0.5rem 0.75rem;
}

.untangled-diff-sidebar-toggle {
	display: inline-flex;
	width: 2rem;
	min-height: 2rem;
	align-items: center;
	justify-content: center;
	border: 1px solid rgb(209 213 219);
	border-radius: 0.25rem;
	background: rgb(255 255 255);
	color: rgb(31 41 55);
}

.untangled-diff-view-commit .untangled-diff-toolbar {
	background: rgb(241 245 249);
}

.untangled-diff-view-commit .untangled-diff-panel {
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.untangled-diff-view-commit .untangled-diff-toolbar {
	border-bottom: 0;
	position: sticky;
	top: 0;
	z-index: 30;
	min-height: 3rem;
	padding: 0.5rem 0;
}

.untangled-diff-view-commit .untangled-diff-panel-body {
	padding-top: 0;
	padding-left: 0;
	padding-right: 0;
}

.untangled-diff-files {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 0.5rem;
}

.untangled-diff-tool-button,
.untangled-diff-mode-button {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	min-height: 2rem;
	border: 1px solid rgb(209 213 219);
	border-radius: 0.25rem;
	background: rgb(255 255 255);
	padding: 0.25rem 0.625rem;
	font-size: 0.875rem;
	color: rgb(31 41 55);
}

.untangled-diff-tool-button:hover,
.untangled-diff-mode-button:not(:disabled):hover {
	background: rgb(249 250 251);
}

.untangled-diff-mode-group {
	display: inline-flex;
	align-items: center;
	border: 1px solid rgb(209 213 219);
	border-radius: 0.25rem;
	overflow: hidden;
}

.untangled-diff-mode-group .untangled-diff-mode-button {
	border: 0;
	border-radius: 0;
}

.untangled-diff-mode-group .untangled-diff-mode-button + .untangled-diff-mode-button {
	border-left: 1px solid rgb(209 213 219);
}

.untangled-diff-mode-button-active {
	background: rgb(243 244 246);
}

.untangled-diff-mode-button:disabled {
	cursor: not-allowed;
	opacity: 0.65;
}

.untangled-diff-panel-body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.5rem;
}

.untangled-diff-panel-body.untangled-diff-panel-body-with-tree {
	display: grid;
	grid-template-columns: 15.5rem minmax(0, 1fr);
	align-items: start;
	gap: 1rem;
}

.untangled-diff-view-commit .untangled-diff-panel-body.untangled-diff-panel-body-with-tree {
	padding-top: 0;
}

.untangled-diff-view-commit .untangled-pr-file-tree {
	top: 3rem;
	max-height: calc(100vh - 3rem);
	min-height: calc(100vh - 3rem);
	border-top: 1px solid rgb(229 231 235);
	border-radius: 0.25rem;
}

@media (max-width: 1023px) {
	.untangled-diff-panel-body.untangled-diff-panel-body-with-tree {
		display: flex;
		grid-template-columns: none;
	}
}

.untangled-diff-file {
	overflow: hidden;
	border: 1px solid rgb(229 231 235);
	border-radius: 0.25rem;
	background: rgb(255 255 255);
}

.untangled-diff-view-commit .untangled-diff-file {
	scroll-margin-top: 4rem;
	overflow: visible;
}

.untangled-diff-file-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.625rem 0.875rem;
	cursor: pointer;
	background: rgb(255 255 255);
	border-bottom: 1px solid rgb(229 231 235);
	list-style: none;
}

.untangled-diff-view-commit .untangled-diff-file-header {
	position: sticky;
	top: 3rem;
	z-index: 20;
}

.untangled-diff-file-header::-webkit-details-marker {
	display: none;
}

.untangled-diff-chevron {
	transition: transform 120ms ease;
}

.untangled-diff-file[open] .untangled-diff-chevron {
	transform: rotate(90deg);
}

.untangled-diff-file:not([open]) .untangled-diff-file-header {
	border-bottom: 0;
}

.untangled-diff-show-more {
	min-width: 0;
}

.untangled-diff-show-more-summary {
	display: flex;
	list-style: none;
	cursor: pointer;
	user-select: none;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.25rem;
	font-size: 0.875rem;
	color: rgb(55 65 81);
}

.untangled-diff-show-more-summary::-webkit-details-marker {
	display: none;
}

.untangled-diff-show-more-closed,
.untangled-diff-show-more-open {
	align-items: center;
	gap: 0.5rem;
}

.untangled-diff-show-more-closed {
	display: inline-flex;
}

.untangled-diff-show-more-open {
	display: none;
}

.untangled-diff-show-more[open] > .untangled-diff-show-more-summary .untangled-diff-show-more-closed {
	display: none;
}

.untangled-diff-show-more[open] > .untangled-diff-show-more-summary .untangled-diff-show-more-open {
	display: inline-flex;
}

.untangled-diff-show-more[open] > .untangled-diff-show-more-summary .untangled-diff-chevron {
	transform: rotate(90deg);
}

.untangled-diff-show-more-files {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

@media (prefers-color-scheme: dark) {
	.untangled-diff-panel {
		border-color: rgb(55 65 81);
		background: rgb(31 41 55);
	}

	.untangled-diff-toolbar {
		border-bottom-color: rgb(55 65 81);
		background: rgb(55 65 81 / 0.5);
	}

	.untangled-diff-view-commit .untangled-diff-toolbar {
		background: rgb(17 24 39);
	}

	.untangled-diff-view-commit .untangled-diff-panel {
		border: 0;
		background: transparent;
	}

	.untangled-diff-view-commit .untangled-pr-file-tree {
		border-top-color: rgb(55 65 81);
	}

	.untangled-diff-tool-button,
	.untangled-diff-mode-button,
	.untangled-diff-sidebar-toggle {
		border-color: rgb(55 65 81);
		background: rgb(17 24 39 / 0.35);
		color: rgb(229 231 235);
	}

	.untangled-diff-tool-button:hover,
	.untangled-diff-mode-button:not(:disabled):hover {
		background: rgb(55 65 81 / 0.65);
	}

	.untangled-diff-mode-group,
	.untangled-diff-mode-group .untangled-diff-mode-button + .untangled-diff-mode-button {
		border-color: rgb(55 65 81);
	}

	.untangled-diff-mode-button-active {
		background: rgb(55 65 81);
	}

	.untangled-diff-file {
		border-color: rgb(55 65 81);
		background: rgb(31 41 55);
	}

	.untangled-diff-file-header {
		border-bottom-color: rgb(55 65 81);
		background: rgb(17 24 39 / 0.35);
	}

	.untangled-diff-view-commit .untangled-diff-file-header {
		background: rgb(31 41 55);
	}

	.untangled-diff-show-more-summary {
		color: rgb(209 213 219);
	}
}

.z-60 {
	z-index: 60;
}

.untangled-footer-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem 1.25rem;
}

@media (prefers-color-scheme: dark) {
	.untangled-topic {
		background: rgb(55 65 81);
	}

	.untangled-repo-action {
		border-color: rgb(55 65 81);
		background: rgb(31 41 55);
	}

	.untangled-repo-action::before {
		box-shadow: inset 0 -2px 0 0 #111827;
	}

	.untangled-repo-action-count {
		background: rgb(17 24 39);
	}

	.untangled-repo-action-main:hover,
	.untangled-repo-action-count:hover {
		background: rgb(55 65 81);
	}

	.untangled-repo-action-count {
		border-left-color: rgb(55 65 81);
	}

	.group:hover .untangled-repo-tab-idle {
		background: rgb(55 65 81 / 0.25);
	}

	.untangled-button:not(.btn-create):hover {
		background: rgb(55 65 81 / 0.4);
	}

	.untangled-clone-popover {
		border-color: rgb(55 65 81);
		background: rgb(31 41 55);
		color: rgb(243 244 246);
	}

	.untangled-clone-url-row {
		border-color: rgb(75 85 99);
	}

	.untangled-clone-url-text {
		background: rgb(55 65 81);
		color: rgb(243 244 246);
	}

	.untangled-clone-copy {
		border-left-color: rgb(75 85 99);
		background: rgb(31 41 55);
		color: rgb(156 163 175);
	}

	.untangled-clone-copy:hover {
		color: rgb(229 231 235);
	}

	.untangled-blob-card {
		background: rgb(31 41 55);
	}

	.untangled-topbar-search-box,
	.untangled-search-page-input,
	.untangled-search-page-submit,
	.untangled-repo-filter-input,
	.untangled-repo-filter-submit {
		border-color: rgb(55 65 81);
		background: rgb(17 24 39);
	}

	.untangled-topbar-search-box:focus-within {
		outline-color: rgb(75 85 99);
	}

	.untangled-topbar-search-input,
	.untangled-search-page-input,
	.untangled-repo-filter-input {
		color: rgb(229 231 235);
	}

	.untangled-topbar-search-input::placeholder,
	.untangled-search-page-input::placeholder,
	.untangled-repo-filter-input::placeholder {
		color: rgb(75 85 99);
	}

	.untangled-topbar-search-kbd {
		border-color: rgb(75 85 99);
		color: rgb(107 114 128);
	}

	.untangled-search-page-input:focus,
	.untangled-repo-filter-input:focus {
		border-color: rgb(75 85 99);
		box-shadow: 0 0 0 1px rgb(75 85 99);
	}

	.untangled-search-page-submit,
	.untangled-repo-filter-reset,
	.untangled-repo-filter-submit {
		color: rgb(156 163 175);
	}

	.untangled-search-page-submit:hover,
	.untangled-repo-filter-reset:hover,
	.untangled-repo-filter-submit:hover {
		color: rgb(229 231 235);
	}

	.untangled-blob-commit-panel {
		border-bottom-color: rgb(55 65 81);
	}

	.untangled-blob-commit-link {
		background: rgb(17 24 39);
		color: rgb(209 213 219);
	}
}

@media (max-width: 767px) {
	.untangled-repo-overview,
	.untangled-filter-grid,
	.untangled-home-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.untangled-repo-filter-search {
		grid-row: 1;
	}

	.untangled-file-tree-pane {
		border-right: 0;
	}
}
