:root {
	color-scheme: light;
	--ink: #17201d;
	--muted: #596762;
	--green: #137553;
	--green-dark: #0e5e42;
	--lavender: #c4b5fd;
	--line: #dce6df;
}

*, *::before, *::after {
	box-sizing: border-box;
}

body {
	display: grid;
	min-height: 100vh;
	min-height: 100svh;
	margin: 0;
	padding: clamp(16px, 4vw, 48px);
	place-items: center;
	background: radial-gradient(ellipse at 12% 15%, #e5f4ec, transparent 48%),
		radial-gradient(ellipse at 89% 80%, #eee9fc, transparent 48%), #f4f7f3;
	color: var(--ink);
	font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tq-login {
	display: grid;
	grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
	width: min(100%, 976px);
	min-height: 568px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 24px 80px rgb(24 54 43 / 12%);
}

.tq-brand {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	padding: clamp(28px, 4vw, 46px);
	background: radial-gradient(ellipse at 92% 84%, #245d53, transparent 69%), #12362d;
	color: #fff;
}

.tq-wordmark {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 27px;
	font-weight: 760;
	letter-spacing: -.06em;
	line-height: 1;
}

.tq-mark {
	width: 36px;
	height: 36px;
	flex: none;
}

.tq-dot {
	color: var(--lavender);
}

.tq-brand-copy {
	z-index: 1;
	margin: 52px 0 auto;
}

.tq-kicker {
	margin: 0 0 10px;
	color: var(--green-dark);
	font-size: 12px;
	font-weight: 760;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.tq-brand .tq-kicker {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 17px;
	color: #b8e2d2;
}

.tq-brand .tq-kicker span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #a1e6ca;
}

.tq-brand-title {
	margin: 0;
	font-size: clamp(40px, 5.5vw, 66px);
	font-weight: 730;
	letter-spacing: -.065em;
	line-height: .99;
}

.tq-pattern {
	position: absolute;
	right: -2%;
	bottom: -6%;
	width: 110%;
	height: auto;
	color: #dff8ed;
	pointer-events: none;
}

.tq-panel {
	display: grid;
	align-items: center;
	padding: clamp(28px, 5vw, 62px);
}

.tq-content {
	width: min(100%, 390px);
	margin: 0 auto;
}

h1 {
	margin: 0;
	font-size: clamp(34px, 4vw, 47px);
	font-weight: 750;
	letter-spacing: -.055em;
	line-height: 1.1;
}

.tq-description {
	margin: 12px 0 25px;
	color: var(--muted);
}

.tq-notice {
	margin: 0 0 18px;
	padding: 11px 13px;
	border: 1px solid #f3c6bd;
	border-radius: 10px;
	background: #fff3f0;
	color: #8b3221;
	font-size: 14px;
}

.login-username, .login-password {
	margin: 0 0 17px;
}

.login-username label, .login-password label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 670;
}

#tq-email, #tq-password {
	width: 100%;
	min-height: 50px;
	padding: 10px 13px;
	border: 1px solid #aebeb4;
	border-radius: 11px;
	background: #fff;
	color: var(--ink);
	font: inherit;
}

.login-remember {
	margin: 0 0 14px;
	font-size: 14px;
}

.login-remember label {
	display: inline-flex;
	min-height: 32px;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

#tq-remember {
	width: 17px;
	height: 17px;
	margin: 0;
	accent-color: var(--green);
}

.login-submit {
	margin: 0;
}

#tq-submit, .tq-sign-out {
	display: flex;
	width: 100%;
	min-height: 51px;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: var(--green);
	color: #fff;
	font: inherit;
	font-weight: 720;
	text-decoration: none;
	cursor: pointer;
}

#tq-submit:hover, .tq-sign-out:hover {
	background: var(--green-dark);
	color: #fff;
}

.tq-sign-out {
	margin-top: 25px;
}

a {
	color: var(--green-dark);
	font-weight: 650;
	text-underline-offset: .2em;
}

:focus-visible {
	outline: 2px solid #5d45b7;
	outline-offset: 3px;
}

.tq-recovery {
	margin: 16px 0 0;
	font-size: 14px;
	text-align: center;
}

.tq-support {
	margin: 23px 0 0;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}

@media (max-width: 740px) {
	.tq-login {
		grid-template-columns: minmax(0, 1fr);
		width: min(100%, 470px);
		min-height: 0;
		border-radius: 22px;
	}

	.tq-brand {
		padding: 20px 26px;
	}

	.tq-brand-copy, .tq-pattern {
		display: none;
	}

	.tq-panel {
		padding: 30px clamp(20px, 6vw, 36px);
	}
}
