* {
	box-sizing: border-box;
}

body.wsf-app-shell {
	margin: 0;
	min-height: 100vh;
	background: radial-gradient(circle at top left, #fff 0, var(--wsf-bg) 52%, #e8dfca 100%);
	color: var(--wsf-text);
	font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.wsf-auth-layout,
.wsf-request-layout,
.wsf-home {
	width: min(1080px, calc(100% - 32px));
	margin: 0 auto;
	padding: clamp(32px, 7vw, 88px) 0;
}

.wsf-auth-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
	gap: clamp(28px, 6vw, 76px);
	align-items: center;
	min-height: calc(100vh - 70px);
}

.wsf-auth-intro h1,
.wsf-request-layout h1,
.wsf-home h1 {
	margin: .55rem 0 1rem;
	color: var(--wsf-secondary);
	font: 800 clamp(2.25rem, 6vw, 4.8rem)/.98 Georgia, serif;
	letter-spacing: -.04em;
}

.wsf-auth-intro p,
.wsf-request-layout header p,
.wsf-home header p {
	max-width: 620px;
	font-size: 1.12rem;
}

.wsf-brand-seals {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.wsf-brand-seals img {
	width: clamp(74px, 10vw, 112px);
	height: clamp(74px, 10vw, 112px);
	object-fit: contain;
}

.wsf-kicker {
	color: var(--wsf-primary);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.wsf-auth-card,
.wsf-request-card,
.wsf-role-card {
	border: 1px solid rgba(19, 41, 75, .12);
	border-top: 5px solid var(--wsf-accent);
	border-radius: 18px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 20px 65px rgba(25, 31, 42, .12);
}

.wsf-auth-card,
.wsf-request-card {
	padding: clamp(24px, 5vw, 42px);
}

.wsf-auth-card h2,
.wsf-request-card h2 {
	margin-top: 0;
	color: var(--wsf-secondary);
}

.wsf-app-shell label {
	display: grid;
	gap: 7px;
	margin: 0 0 17px;
	font-weight: 700;
}

.wsf-app-shell input,
.wsf-app-shell select,
.wsf-app-shell textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #abb2bd;
	border-radius: 9px;
	background: #fff;
	font: inherit;
}

.wsf-app-shell input:focus,
.wsf-app-shell select:focus,
.wsf-app-shell textarea:focus {
	border-color: var(--wsf-secondary);
	outline: 3px solid color-mix(in srgb, var(--wsf-accent) 42%, transparent);
}

.wsf-app-shell button {
	width: 100%;
	padding: 13px 18px;
	border: 0;
	border-radius: 9px;
	background: var(--wsf-primary);
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 800;
}

.wsf-check {
	display: flex !important;
	grid-template-columns: auto 1fr;
	align-items: center;
	font-weight: 500 !important;
}

.wsf-check input {
	width: auto;
}

.wsf-auth-links,
.wsf-home-actions {
	margin-top: 22px;
	font-size: .92rem;
}

.wsf-auth-links {
	display: grid;
	gap: 10px;
}

.wsf-home-actions {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.wsf-app-shell a {
	color: var(--wsf-primary);
	font-weight: 700;
}

.wsf-alert {
	padding: 12px 14px;
	border-left: 4px solid var(--wsf-primary);
	background: #fff0f0;
}

.wsf-alert.is-success {
	border-color: #197447;
	background: #edf9f3;
}

.wsf-request-layout > header,
.wsf-home > header {
	display: grid;
	justify-items: center;
	margin-bottom: 32px;
	text-align: center;
}

.wsf-request-layout h1,
.wsf-home h1 {
	font-size: clamp(2.2rem, 5vw, 4rem);
}

.wsf-request-card {
	max-width: 800px;
	margin: 0 auto;
}

.wsf-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 18px;
}

.wsf-form-grid .is-wide {
	grid-column: 1 / -1;
}

.wsf-back {
	text-align: center;
}

.wsf-home-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.wsf-role-card {
	display: grid;
	gap: 8px;
	padding: 28px;
	color: var(--wsf-text);
	text-decoration: none;
	transition: transform .16s, box-shadow .16s;
}

.wsf-role-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 22px 70px rgba(25, 31, 42, .17);
}

.wsf-role-card span {
	color: var(--wsf-primary);
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.wsf-role-card strong {
	color: var(--wsf-secondary);
	font-size: 1.25rem;
}

.wsf-role-card small {
	font-size: .95rem;
}

.wsf-role-card.is-empty {
	border-top-color: #9ca3af;
}

.wsf-app-footer {
	padding: 20px;
	color: #626a76;
	font-size: .78rem;
	text-align: center;
}

@media (max-width: 760px) {
	.wsf-auth-layout {
		grid-template-columns: 1fr;
		padding-top: 28px;
	}

	.wsf-auth-intro {
		text-align: center;
	}

	.wsf-brand-seals {
		justify-content: center;
	}

	.wsf-form-grid {
		grid-template-columns: 1fr;
	}

	.wsf-form-grid .is-wide {
		grid-column: auto;
	}

	.wsf-auth-links {
		display: grid;
	}

	.wsf-auth-card {
		padding: 24px;
	}
}
