:root {
	--st-navy: #0a1b3f;
	--st-blue: #1368e8;
	--st-blue-strong: #0d52bd;
	--st-canvas: #f5f8fc;
	--st-surface: #ffffff;
	--st-surface-strong: #edf3fb;
	--st-text: #0a1b3f;
	--st-muted: #52637e;
	--st-border: #d8e1ee;
	color: var(--st-text);
	background: var(--st-canvas);
	font-family:
		Inter,
		ui-sans-serif,
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		'Segoe UI',
		sans-serif;
	font-synthesis: none;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	min-width: 320px;
	min-height: 100vh;
	background: radial-gradient(circle at 50% 0, #eaf3ff 0, var(--st-canvas) 38rem);
	color: var(--st-text);
}
a {
	color: var(--st-blue);
	text-underline-offset: 3px;
}
a:hover {
	color: var(--st-blue-strong);
}
button,
input {
	font: inherit;
	letter-spacing: 0;
}
.site-header {
	border-bottom: 1px solid var(--st-border);
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(12px);
}
.header-inner {
	width: min(1080px, calc(100% - 32px));
	min-height: 64px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--st-navy);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}
.brand img {
	display: block;
	width: 144px;
	height: auto;
}
.brand span {
	padding-left: 12px;
	border-left: 1px solid var(--st-border);
}
nav {
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 14px;
}
nav form {
	margin: 0;
}
.link-button {
	border: 0;
	padding: 0;
	color: var(--st-blue);
	background: transparent;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.auth-shell {
	width: min(430px, calc(100% - 32px));
	margin: 64px auto;
}
.auth-panel {
	padding: 32px;
	border: 1px solid var(--st-border);
	border-radius: 14px;
	background: var(--st-surface);
	box-shadow: 0 24px 60px rgba(6, 18, 41, 0.1);
}
.eyebrow {
	margin-bottom: 10px;
	color: var(--st-blue);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}
.auth-intro {
	margin: -14px 0 24px;
	color: var(--st-muted);
}
h1,
h2,
h3,
p {
	margin-top: 0;
}
h1 {
	margin-bottom: 24px;
	font-size: 26px;
	line-height: 1.2;
	letter-spacing: 0;
}
h2 {
	margin-bottom: 4px;
	font-size: 18px;
	line-height: 1.3;
	letter-spacing: 0;
}
h3 {
	margin-bottom: 10px;
	font-size: 15px;
	line-height: 1.4;
	letter-spacing: 0;
}
p {
	line-height: 1.55;
}
form {
	margin: 0;
}
label {
	display: block;
	margin: 18px 0 7px;
	color: #303937;
	font-size: 14px;
	font-weight: 650;
}
input {
	width: 100%;
	min-height: 42px;
	padding: 9px 11px;
	border: 1px solid #aebbb6;
	border-radius: 5px;
	background: #ffffff;
	color: #17201e;
}
input:focus {
	border-color: var(--st-blue);
	outline: 3px solid rgba(19, 104, 232, 0.16);
}
.field-hint,
.muted {
	color: var(--st-muted);
	font-size: 13px;
}
.field-hint {
	margin: 6px 0 0;
}
.button {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border: 1px solid #aebbb6;
	border-radius: 5px;
	background: #ffffff;
	color: #26302d;
	font-weight: 650;
	text-decoration: none;
	cursor: pointer;
}
.button:hover {
	border-color: #81908a;
	background: #f7f9f8;
	color: #17201e;
}
.button-primary {
	border-color: var(--st-blue);
	background: var(--st-blue);
	color: #ffffff;
}
.button-primary:hover {
	border-color: var(--st-blue-strong);
	background: var(--st-blue-strong);
	color: #ffffff;
}
.button-danger {
	border-color: #bd5d5d;
	color: #9d3434;
}
.button-danger:hover {
	border-color: #a44141;
	background: #fff7f7;
	color: #812828;
}
.button-full {
	width: 100%;
	margin-top: 24px;
}
.button-small {
	min-height: 34px;
	padding: 5px 10px;
	font-size: 13px;
}
.button-social {
	gap: 9px;
	background: #ffffff;
	color: var(--st-text);
}
.button-social + .button-social {
	margin-top: 10px;
}
.button-social img {
	flex: 0 0 auto;
}
.auth-links {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 22px;
	font-size: 14px;
}
.auth-links-single {
	justify-content: flex-end;
}
.signup-prompt {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--st-border);
	text-align: center;
}
.signup-prompt p {
	margin-bottom: 10px;
	color: var(--st-muted);
	font-size: 14px;
}
.signup-prompt .button-full {
	margin-top: 0;
}
.social-auth {
	margin-top: 22px;
}
.auth-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--st-muted);
	font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
	height: 1px;
	flex: 1;
	background: var(--st-border);
	content: '';
}
.auth-divider + .button-social {
	margin-top: 18px;
}
.identity-options-separated {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid var(--st-border);
}
.identity-options form + form {
	margin-top: 10px;
}
.turnstile-wrap {
	min-height: 65px;
	margin-top: 20px;
}
.alert {
	margin: 0 0 20px;
	padding: 12px 14px;
	border-radius: 5px;
	font-size: 14px;
	line-height: 1.45;
}
.alert ul {
	margin: 0;
	padding-left: 18px;
}
.alert-error {
	border: 1px solid #efc7c7;
	background: #fff5f5;
	color: #7d2929;
}
.alert-success {
	border: 1px solid #b7dccc;
	background: #f0faf5;
	color: #185a46;
}
.app-shell {
	width: min(1080px, calc(100% - 32px));
	margin: 42px auto 80px;
}
.page-heading {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}
.page-heading h1 {
	margin-bottom: 5px;
}
.page-heading p {
	margin: 0;
	color: var(--st-muted);
}
.settings-navigation {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
	padding: 5px;
	border: 1px solid var(--st-border);
	border-radius: 8px;
	background: var(--st-surface);
}
.settings-navigation a {
	display: inline-flex;
	min-height: 36px;
	align-items: center;
	padding: 7px 12px;
	border-radius: 5px;
	color: var(--st-muted);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}
.settings-navigation a:hover,
.settings-navigation a:focus-visible {
	background: var(--st-surface-strong);
	color: var(--st-text);
}
.status-indicator,
.badge {
	display: inline-flex;
	align-items: center;
	border: 1px solid #acd4c6;
	border-radius: 999px;
	background: #eff9f5;
	color: #17604d;
	font-size: 12px;
	font-weight: 700;
}
.status-indicator {
	min-height: 28px;
	padding: 4px 10px;
}
.badge {
	margin-left: 8px;
	padding: 2px 7px;
}
.settings-section {
	padding: 26px 0;
	border-top: 1px solid var(--st-border);
	scroll-margin-top: 20px;
}
.section-heading {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 20px;
}
.section-heading p {
	margin: 0;
	color: var(--st-muted);
	font-size: 14px;
}
.detail-list {
	margin: 0;
	border: 1px solid var(--st-border);
	border-radius: 6px;
	background: #ffffff;
}
.detail-list div {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 20px;
	padding: 14px 16px;
	border-bottom: 1px solid #e5e9e7;
}
.detail-list div:last-child {
	border-bottom: 0;
}
.detail-list dt {
	color: var(--st-muted);
	font-size: 14px;
}
.detail-list dd {
	margin: 0;
}
.table-wrap {
	overflow-x: auto;
	border: 1px solid var(--st-border);
	border-radius: 6px;
	background: #ffffff;
}
table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
th,
td {
	padding: 13px 15px;
	border-bottom: 1px solid #e5e9e7;
	text-align: left;
	vertical-align: middle;
}
th {
	background: #f8faf9;
	color: #59635f;
	font-size: 12px;
	text-transform: uppercase;
}
tr:last-child td {
	border-bottom: 0;
}
.table-action {
	width: 1%;
	white-space: nowrap;
	text-align: right;
}
.empty-cell {
	color: var(--st-muted);
	text-align: center;
}
.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.token-form {
	display: grid;
	grid-template-columns: minmax(180px, 1.1fr) minmax(220px, 1.5fr) 130px auto;
	align-items: end;
	gap: 12px;
	margin-bottom: 18px;
}
.token-form label {
	margin-top: 0;
}
#personal-access-tokens > .button {
	margin-bottom: 18px;
}
.token-reveal,
.notice-block,
.recovery-block {
	margin-bottom: 22px;
	padding: 16px;
	border: 1px solid #b7d0c7;
	border-radius: 6px;
	background: #f7fbf9;
}
.token-reveal p,
.notice-block p,
.recovery-block p {
	margin-bottom: 10px;
	color: #58645f;
	font-size: 14px;
}
.token-reveal code,
.secret-code,
.uri-code {
	display: block;
	max-width: 100%;
	padding: 10px;
	overflow-wrap: anywhere;
	border: 1px solid #cad5d1;
	border-radius: 4px;
	background: #ffffff;
	font-size: 13px;
}
.two-factor-setup {
	margin-bottom: 22px;
}
.two-factor-provisioning {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	align-items: start;
	gap: 22px;
	margin-bottom: 20px;
}
.two-factor-provisioning p {
	margin: 2px 0 12px;
	color: #58645f;
	font-size: 14px;
}
.two-factor-qr {
	display: block;
	width: 240px;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1;
	border: 1px solid #cad5d1;
	background: #ffffff;
}
.setup-warning {
	margin: 0 0 18px;
	color: #765b1e;
	font-size: 14px;
}
.recovery-block ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px 18px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}
.recovery-block code {
	font-size: 14px;
}
details {
	margin: 12px 0;
}
summary {
	cursor: pointer;
	color: var(--st-blue);
	font-size: 14px;
}
.inline-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
}
.restart-form {
	margin-top: 12px;
}
.provider-list {
	border: 1px solid var(--st-border);
	border-radius: 6px;
	background: #ffffff;
}
.provider-row {
	display: flex;
	min-height: 70px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 13px 16px;
	border-bottom: 1px solid #e5e9e7;
}
.provider-row:last-child {
	border-bottom: 0;
}
.provider-name {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 12px;
}
.provider-name img {
	flex: 0 0 auto;
}
.provider-name strong,
.provider-name span {
	display: block;
}
.provider-name span {
	margin-top: 2px;
	color: var(--st-muted);
	font-size: 13px;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
@media (max-width: 760px) {
	.auth-shell {
		margin-top: 32px;
	}
	.auth-panel {
		padding: 22px;
	}
	.section-heading,
	.page-heading {
		align-items: stretch;
		flex-direction: column;
	}
	.token-form {
		grid-template-columns: 1fr;
	}
	.two-factor-provisioning {
		grid-template-columns: 1fr;
	}
	.detail-list div {
		grid-template-columns: 1fr;
		gap: 4px;
	}
	.provider-row {
		align-items: flex-start;
		flex-direction: column;
	}
}
@media (max-width: 460px) {
	.header-inner {
		width: min(100% - 24px, 1080px);
	}
	.auth-shell,
	.app-shell {
		width: min(100% - 24px, 1080px);
	}
	.auth-links {
		align-items: flex-start;
		flex-direction: column;
	}
	.recovery-block ul {
		grid-template-columns: 1fr;
	}
	.inline-form {
		grid-template-columns: 1fr;
	}
}
