.desk-wrap {
	max-width: 40rem;
	margin: 0 auto;
	padding: 1.5rem 1rem 3rem;
}

.desk-kicker {
	margin: 0;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #4a635a;
}

.desk-wrap h1 {
	margin: 0.2rem 0 0.6rem;
	color: #0a1a16;
}

.desk-lead {
	color: #4a635a;
	margin: 0 0 1.4rem;
	line-height: 1.55;
}

.desk-login-block {
	background: #fff;
	border: 1px solid #c5d4ce;
	border-radius: 0.75rem;
	margin-bottom: 1rem;
	overflow: hidden;
}

.desk-login-block--main {
	border-color: #9bb8ad;
	box-shadow: 0 1px 0 rgba(11, 46, 40, 0.06);
}

.desk-login-head {
	padding: 1rem 1.1rem 0.85rem;
	border-bottom: 1px solid #e3ece8;
	background: #f7faf8;
}

.desk-login-head h2,
.desk-login-block--profile .desk-card h3 {
	margin: 0;
	font-size: 1.05rem;
	color: #0a1a16;
}

.desk-login-tag {
	margin: 0.35rem 0 0;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #4a635a;
}

.desk-login-body {
	padding: 1rem 1.1rem 1.15rem;
	display: grid;
	gap: 0.85rem;
}

.desk-login-body p {
	margin: 0;
	color: #243830;
	line-height: 1.55;
}

.desk-login-list {
	margin: 0;
	padding-left: 1.15rem;
	color: #243830;
	line-height: 1.55;
}

.desk-login-list li + li {
	margin-top: 0.35rem;
}

.desk-login-intro {
	font-size: 0.92rem;
}

.desk-login-intro a {
	color: #155a96;
	font-weight: 600;
}

.desk-login-block--profile {
	padding: 0;
}

.desk-login-summary {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.95rem 1.1rem;
	cursor: pointer;
	list-style: none;
	background: #fafbfa;
}

.desk-login-summary::-webkit-details-marker {
	display: none;
}

.desk-login-summary::after {
	content: "▼";
	position: absolute;
	right: 1.1rem;
	top: 1rem;
	font-size: 0.72rem;
	color: #4a635a;
}

.desk-login-block--profile {
	position: relative;
}

.desk-login-block--profile[open] .desk-login-summary::after {
	content: "▲";
}

.desk-login-summary-title {
	font-weight: 700;
	color: #0a1a16;
}

.desk-login-summary-hint {
	font-size: 0.82rem;
	color: #4a635a;
}

.desk-login-block--profile .desk-login-body {
	border-top: 1px solid #e3ece8;
}

.desk-card {
	background: #f7faf8;
	border: 1px solid #d5e0db;
	border-radius: 0.6rem;
	padding: 1rem 1.1rem 1.2rem;
	margin: 0;
	display: grid;
	gap: 0.65rem;
}

.desk-card h3 {
	margin: 0;
	font-size: 0.98rem;
	color: #0a1a16;
}

.desk-card-lead {
	margin: 0;
	font-size: 0.84rem;
	color: #4a635a;
	line-height: 1.45;
}

.desk-card label {
	display: grid;
	gap: 0.25rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #0a1a16;
}

.desk-card input,
.desk-send textarea {
	font: inherit;
	padding: 0.55rem 0.65rem;
	border: 1px solid #c5d4ce;
	border-radius: 0.4rem;
	background: #fff;
	color: #0a1a16;
}

.desk-err {
	color: #b42318;
	font-weight: 600;
	margin: 0.5rem 0 0;
}

.desk-note {
	margin: 0;
	padding: 0.65rem 0.75rem;
	border-radius: 0.45rem;
	background: #eef4f1;
	border: 1px solid #c5d4ce;
	font-size: 0.84rem;
	color: #243830;
	line-height: 1.45;
}

.desk-note--err {
	background: #fef3f2;
	border-color: #fecdca;
	color: #b42318;
}

.desk-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
}

.desk-log {
	background: #fff;
	border: 1px solid #c5d4ce;
	border-radius: 0.6rem;
	min-height: 16rem;
	max-height: 60vh;
	overflow: auto;
	padding: 0.8rem;
	margin-bottom: 0.8rem;
}

.desk-msg {
	margin-bottom: 0.75rem;
}

.desk-msg b {
	font-size: 0.75rem;
	color: #4a635a;
}

.desk-msg p {
	margin: 0.15rem 0 0;
	white-space: pre-wrap;
}

.desk-msg.role-player p {
	background: #e8f4ef;
	padding: 0.45rem 0.6rem;
	border-radius: 0.4rem;
}

.desk-send {
	display: grid;
	gap: 0.5rem;
}

.btn-fb {
	display: inline-block;
	width: fit-content;
	background: #1877f2;
	color: #fff !important;
	border-radius: 0.45rem;
	padding: 0.75rem 1.1rem;
	font-weight: 700;
	text-decoration: none;
	margin: 0;
}

.btn-fb:hover {
	background: #1464cf;
}

@media (max-width: 520px) {
	.desk-login-summary::after {
		top: 0.85rem;
	}
}
