:root {
	--front-color: rgba(234, 238, 219, 1.0);
	--back-color: rgba(29, 30, 27, 1.0);
	--emphasize-color: rgba(88, 178, 220, 1.0);
}

div,
p,
span,
li {
	margin: 0px;
	color: var(--front-color);
}
a,
a:visited,
a:active {
	color: var(--emphasize-color);
	text-decoration: none;
}
a:hover {
	color: var(--emphasize-color);
	text-decoration: underline;
	text-underline-position: from-font;
	text-underline-offset: 1px;
	background-color: transparent;
}
strong, b, em, i {
	color: inherit;
}
img {
	background-color: transparent;
	object-fit: contain;
	object-position: center;
}

.scrollable {
	overflow-x: hidden;
	overflow-y: auto;
}
.scrollable::-webkit-scrollbar {
	width: 10px;
	background-color: transparent;
	cursor: pointer;
}
.scrollable::-webkit-scrollbar-thumb {
	border-radius: 5px;
	background-color: rgb(from var(--front-color) r g b / 50%);
	box-shadow: inset 2px 2px 3px rgb(from var(--back-color) r g b / 50%);
	cursor: pointer;
}
.scrollable::-webkit-scrollbar-track {
	border-radius: 5px;
	background-color: rgb(from var(--back-color) r g b / 20%);
	box-shadow: inset 2px 2px 3px rgb(from var(--front-color) r g b / 30%);
	cursor: pointer;
}

.invalid {
	pointer-events: none;
}

[loading="true"] {
	opacity: 0;
}
[contenteditable="true"] {
	position: relative;
	padding: 5px 10px;
	outline: none;
}
[contenteditable="true"][placeholder]:empty::after {
	content: attr(placeholder);
	color: rgb(127, 127, 127);
}

[prefix]::before {
	content: attr(prefix);
	margin-right: 5px;
	padding: 3px 5px;
	border-radius: 5px;
	background-color: black;
	color: white;
}

img[src$=".svg"] {
	filter: invert(0.6) sepia(1.0) hue-rotate(160deg) brightness(1.9);
}

.MathJax > nobr > span > span:empty {
	border-left: none !important;
	border-right: none !important;
}

.backhome {
	position: fixed;
	z-index: 99999;
	top: 0px;
	right: 0px;
	width: 26px;
	padding: 0px 3px;
	user-select: none;
	cursor: pointer;
}div.panel {
	display: block;
	position: relative;
	margin: 0rem;
}
.panel[active="false"] {
	display: none;
}
.panel.narrow {
	width: 95%;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	padding: 1.5rem;
}
.panel.full {
	height: 100%;
}

.panel .title {
	font-size: 2em;
	font-weight: bolder;
	padding: 2em 0.5em 0.2em 0.5em;
	border-bottom: 1px solid var(--front-color);
}
.panel .title .button {
	float: right;
	margin-top: 20px;
	font-size: 1rem;
	cursor: pointer;
}
.panel .description {
	padding: 1.0em 0.5em;
	border-bottom: 1px solid var(--front-color);
	font-size: 0.9em;
	font-weight: lighter;
	font-style: italic;
	color: rgb(127, 127, 127) !important;
}
.panel .hint {
	margin-top: 2em;
	margin-bottom: 0.5em;
}
.panel .inputter {
	width: 450px;
	max-width: 80%;
	padding: 2px 5px;
	border-bottom: 1px solid var(--front-color);
}
.panel .editor {
	height: 350px;
}

.confirmPanel {
	margin-top: 20px;
	padding-top: 20px;
	padding-bottom: 30px;
	border-top: 1px solid var(--front-color);
	text-align: center;
}
.confirmPanel .button {
	display: inline-block;
	min-width: 100px;
	margin-left: 50px;
	margin-right: 50px;
	padding: 5px 10px;
	border: 1px solid var(--front-color);
	border-radius: 5px;
	text-align: center;
	user-select: none;
	cursor: pointer;
}

.panel .listContainer .listItem {
	margin: 5px;
	user-select: none;
	cursor: pointer;
}
.panel .listContainer .listItem[choosen="true"] {
	border-left: 5px solid var(--front-color);
	padding-left: 5px;
}
.panel .listContainer .listItem .itemName {
	pointer-events: none;
}
.panel .listContainer .itemTool {
	float: right;
	display: none;
	margin: 4px 5px 0px 5px;
	cursor: pointer;
}
.panel .listContainer .listItem:hover .itemTool {
	display: inline-block;
}
.panel .listContainer .itemTool > img {
	height: 16px;
}

.content_container {
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-right: 5px;
	padding-bottom: 5px;
}
.content_container .chat_item {
	position: relative;
	padding: 5px 0px;
	margin-top: 5px;
	margin-bottom: 10px;
	border-radius: 8px;
	border: 1px solid rgba(23, 23, 23, 1.0);
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}
.content_container .chat_item:last-child {
	margin-bottom: 0px;
}
.content_container .chat_item.human {
	margin-left: 50px;
	background-color: rgba(37, 61, 36, 1.0);
	transition: background-color cubic-bezier(0.5, 0.1, 0.3, 1) 250ms;
}
.content_container .chat_item.human:last-child {
	margin-right: 30px;
}
.content_container .chat_item.ai {
	margin-right: 50px;
	background-color: var(--background-color);
	transition: background-color cubic-bezier(0.5, 0.1, 0.3, 1) 250ms;
}
.content_container .chat_item.hint {
	margin-top: 10px;
	padding: 0px;
	border: none;
	box-shadow: none;
}
.content_container .chat_item .chat_title {
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px 5px;
	font-weight: bolder;
	user-select: none;
}
.content_container .chat_item.hint .chat_title {
	color: rgb(125, 125, 125) !important;
	font-size: 0.85em;
	font-weight: bolder;
	cursor: pointer;
}
.content_container .chat_item.hint .chat_title .hint {
	position: relative;
	top: -2px;
	display: inline-block;
	width: 20px;
	height: 20px;
	margin: 0px 5px;
	opacity: 0.6;
}
.content_container .chat_item.hint .chat_title .hint.up {
	display: none;
}
.content_container .chat_item.hint[show="true"] .chat_title .hint.up {
	display: inline-block;
}
.content_container .chat_item.hint[show="true"] .chat_title .hint.down {
	display: none;
}
.content_container .chat_item .chat_content {
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px 8px;
	color: var(--front-color) !important;
}
.content_container .chat_item.hint .chat_content {
	display: none;
	padding-left: 1.6em;
	color: rgb(125, 125, 125) !important;
	font-size: 0.8em;
	font-weight: lighter;
}
.content_container .chat_item.hint[show="true"] .chat_content {
	display: block;
}
.content_container .chat_item.hint .chat_content * {
	margin-top: 5px;
	margin-bottom: 5px;
	color: rgb(125, 125, 125) !important;
	line-height: 1.6em;
}
.content_container .chat_item .chat_content div,
.content_container .chat_item .chat_content p {
	margin-top: 5px;
	margin-bottom: 5px;
}
.content_container .chat_item .chat_content img,
.content_container .chat_item .chat_content video {
	max-width: 100%;
}
.content_container .chat_item .operator_bar {
	position: absolute;
	display: none;
	top: 0px;
	right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}
.content_container .chat_item:hover .operator_bar {
	display: block;
}
.content_container .chat_item .operator_bar img {
	box-sizing: border-box;
	width: 23px;
	margin-left: 10px;
	padding: 5px;
	cursor: pointer;
}
.content_container .chat_item .chat_title img {
	display: inline-block;
	box-sizing: border-box;
	width: 20px;
	margin-left: 10px;
	margin-right: 0px;
	padding: 5px;
	vertical-align: middle;
}
.content_container .chat_item .chat_title img.up {
	display: none;
}
.content_container .chat_item.toggled .chat_title img.down {
	display: none;
}
.content_container .chat_item.toggled .chat_title img.up {
	display: inline-block;
}
.content_container .chat_item .chat_title .caption {
	display: inline-block;
	max-width: calc(100% - 100px);
	margin-top: 0px;
	margin-bottom: 0px;
	font-size: 1em;
	vertical-align: middle;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.content_container .chat_item .other_content {
	display: none;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 27px;
	margin-right: 0px;
}
.content_container .chat_item.toggled .other_content {
	display: block;
}
.content_container strategy {
	display: none;
}
.content_container pre {
	margin-left: -8px;
	margin-right: -8px;
	padding: 8px;
	overflow-x: auto;
	background-color: rgba(8, 8, 8, 1.0);
    box-shadow: inset 0px 1px 3px black;
	border-radius: 0px !important;
	outline: none;
}
.content_container pre .code_title_bar {
	display: none;
}
.content_container div.svg {
	position: relative;
	display: block;
	text-align: center;
}
.content_container div.svg .svg_bar {
	display: none;
}

.input_container {
	position: absolute;
	left: 0px;
	right: 100px;
	bottom: 0px;
	min-height: 70px;
	max-height: 400px;
	padding: 5px 10px;
	border-radius: 8px;
	border: 1px solid var(--back-color);
	background-color: var(--front-color);
	box-shadow: inset 2px 2px 5px rgb(from var(--back-color) r g b / 80%);
	outline: none;
	color: var(--back-color) !important;
}
.input_container[contentEditable="false"] {
	color: rgb(157, 157, 157) !important;
	user-select: none;
}
.input_container[contentEditable="false"] * {
	color: rgb(157, 157, 157) !important;
}
.input_container div,
.input_container p,
.input_container span {
	color: var(--back-color) !important;
}
.input_sender {
	position: absolute;
	bottom: 0px;
	left: auto;
	right: 0px;
	width: 100px;
	height: 70px;
	line-height: 30px;
	border-radius: 5px;
	background-color: var(--emphasize-color);
	box-shadow: inset -2px -2px 5px rgb(from var(--back-color) r g b / 50%);
	text-align: center !important;
	color: var(--front-color) !important;
	cursor: pointer;
}
.input_sender span {
	position: absolute;
	left: 0px;
	top: 50%;
	width: 100%;
	transform: translateY(-50%);
	line-height: 1em;
	pointer-events: none;
}

.toolPanel {
	position: absolute;
	text-align: center;
}
.toolPanel .button {
	display: inline-block;
	width: 25px;
	height: 25px;
	margin-bottom: 20px;
	cursor: pointer;
}