:root {
	color-scheme: dark;
	--bg: #050607;
	--bg-2: #0b0f14;
	--panel: rgba(15, 18, 24, 0.88);
	--panel-solid: #11151c;
	--panel-soft: rgba(255, 255, 255, 0.04);
	--line: rgba(255, 255, 255, 0.105);
	--line-soft: rgba(255, 255, 255, 0.065);
	--text: #f7f8fb;
	--muted: #a2a7b2;
	--subtle: #747b88;
	--accent: #e9ebf0;
	--green: #41d990;
	--green-soft: rgba(65, 217, 144, 0.13);
	--warn: #f5c56b;
	--shadow: 0 22px 90px rgba(0, 0, 0, 0.38);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bg);
	color: var(--text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 0;
	min-height: 100vh;
	text-rendering: geometricPrecision;
}

.scene-grid {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(115deg, rgba(83, 109, 255, 0.12), transparent 35%, rgba(65, 217, 144, 0.1));
	background-size: 84px 84px, 84px 84px, auto;
	inset: 62px 0 0;
	mask-image: linear-gradient(to bottom, black, transparent 78%);
	opacity: 0.5;
	pointer-events: none;
	position: fixed;
	transform: skewX(-8deg) scale(1.08);
	z-index: -2;
}

body::before,
body::after {
	content: "";
	left: 0;
	pointer-events: none;
	position: fixed;
	right: 0;
	z-index: -1;
}

body::before {
	background:
		linear-gradient(90deg, transparent 0, rgba(123, 190, 255, 0.38) 48%, transparent 100%),
		linear-gradient(90deg, transparent 0, rgba(65, 217, 144, 0.24) 55%, transparent 100%);
	filter: blur(0.2px);
	height: 1px;
	opacity: 0.38;
	top: 180px;
}

body::after {
	background: linear-gradient(to bottom, transparent, rgba(5, 6, 7, 0.86) 60%, var(--bg));
	bottom: 0;
	height: 48vh;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
.primary-link,
.secondary-link,
.oauth-button {
	align-items: center;
	border-radius: 8px;
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
	padding: 11px 15px;
	text-decoration: none;
	transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

button:hover,
.primary-link:hover,
.secondary-link:hover,
.oauth-button:hover {
	transform: translateY(-1px);
}

button {
	background: linear-gradient(180deg, #f5f6f8, #d9dce2);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #08090b;
	font-weight: 750;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.topbar {
	align-items: center;
	backdrop-filter: blur(18px);
	background: rgba(5, 6, 7, 0.78);
	border-bottom: 1px solid var(--line-soft);
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	height: 66px;
	padding: 0 max(30px, calc((100vw - 1240px) / 2));
	position: sticky;
	top: 0;
	z-index: 10;
}

.brand,
.topbar nav,
.account {
	align-items: center;
	display: flex;
}

.brand {
	color: var(--text);
	font-size: 15px;
	font-weight: 800;
	gap: 11px;
	text-decoration: none;
}

.brand-logo,
.login-logo {
	background: #f4f4f5;
	color: #08090d;
	display: grid;
	font-weight: 950;
	place-items: center;
}

.brand-logo {
	border-radius: 3px;
	font-size: 20px;
	height: 32px;
	width: 32px;
}

.topbar nav {
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid var(--line-soft);
	border-radius: 999px;
	gap: 4px;
	padding: 4px;
}

.topbar nav a {
	border-radius: 999px;
	color: var(--muted);
	font-size: 14px;
	padding: 8px 14px;
	text-decoration: none;
	transition: background 140ms ease, color 140ms ease;
}

.topbar nav a:hover {
	background: rgba(255, 255, 255, 0.09);
	color: var(--text);
}

.account {
	gap: 12px;
	justify-content: flex-end;
	min-width: 0;
}

.account span,
.login-link {
	color: var(--muted);
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}

.link-button {
	background: transparent;
	border: 0;
	color: var(--text);
	min-height: 0;
	padding: 0;
}

main {
	margin: 0 auto;
	max-width: 1240px;
	padding: 28px 30px 72px;
}

.auth-body main {
	max-width: none;
	padding: 0;
}

.login-shell {
	display: grid;
	min-height: calc(100vh - 62px);
	place-items: center;
	padding: 48px 20px;
}

.login-card {
	max-width: 540px;
	text-align: center;
	width: 100%;
}

.legal-page {
	margin: 110px auto 0;
	max-width: 760px;
	text-align: center;
}

.legal-page h1 {
	font-size: clamp(38px, 5vw, 58px);
	margin: 22px 0;
}

.legal-page p {
	color: var(--muted);
	font-size: 17px;
	line-height: 1.7;
	margin: 0 auto 16px;
	max-width: 680px;
}

.login-logo {
	border-radius: 3px;
	font-size: 72px;
	height: 104px;
	margin: 0 auto 30px;
	width: 104px;
}

.small-logo {
	font-size: 42px;
	height: 72px;
	width: 72px;
}

.login-card h1 {
	font-size: clamp(34px, 4vw, 48px);
	margin: 0 0 14px;
}

.login-form {
	display: grid;
	gap: 22px;
	margin-top: 38px;
	text-align: left;
}

label {
	color: var(--text);
	display: grid;
	font-size: 15px;
	font-weight: 650;
	gap: 9px;
}

input,
select,
textarea {
	background: rgba(0, 0, 0, 0.42);
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--text);
	min-height: 52px;
	outline: none;
	padding: 0 16px;
	width: 100%;
}

select {
	appearance: auto;
}

input:focus,
select:focus,
textarea:focus {
	border-color: rgba(255, 255, 255, 0.46);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.09);
}

textarea {
	line-height: 1.55;
	min-height: 240px;
	padding: 15px 16px;
	resize: vertical;
}

.form-line {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.form-line a {
	color: var(--text);
	text-underline-offset: 5px;
}

.checkline {
	align-items: center;
	color: var(--text);
	display: flex;
	font-weight: 500;
	gap: 10px;
}

.checkline input {
	height: 20px;
	min-height: 0;
	width: 20px;
}

.primary-light {
	font-size: 18px;
	min-height: 56px;
	width: 100%;
}

.divider {
	align-items: center;
	color: var(--muted);
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr auto 1fr;
	margin: 30px 0 22px;
}

.divider::before,
.divider::after {
	background: var(--line);
	content: "";
	height: 1px;
}

.oauth-button {
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid var(--line);
	color: var(--text);
	margin-top: 14px;
	width: 100%;
}

.muted-button {
	background: rgba(255, 255, 255, 0.16);
}

.hero-panel,
.panel {
	backdrop-filter: blur(18px);
	background: var(--panel);
	border: 1px solid var(--line);
	box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
}

.hero-panel {
	border-radius: 16px;
	display: grid;
	gap: 30px;
	grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
	margin-top: 22px;
	overflow: hidden;
	padding: 30px;
	position: relative;
}

.hero-panel::before {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 40%);
	content: "";
	height: 1px;
	left: 28px;
	position: absolute;
	right: 28px;
	top: 0;
}

.pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.pill-row span,
.status-chip,
.access-tag,
.pending-tag {
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid var(--line-soft);
	border-radius: 999px;
	color: var(--muted);
	font-size: 12px;
	padding: 6px 10px;
}

.hero-copy h1 {
	font-size: clamp(40px, 5vw, 64px);
	letter-spacing: -0.045em;
	line-height: 0.96;
	margin: 0 0 16px;
	max-width: 660px;
}

.hero-copy p {
	color: var(--muted);
	font-size: 16px;
	line-height: 1.55;
	margin: 0;
	max-width: 600px;
}

.hero-metrics {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
}

.setup-card {
	align-self: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line-soft);
	border-radius: 14px;
	display: grid;
	gap: 11px;
	padding: 18px;
}

.setup-card span {
	color: var(--muted);
	font-size: 13px;
}

.setup-card code {
	overflow-wrap: anywhere;
	white-space: normal;
}

.hero-metrics div {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
	border: 1px solid var(--line-soft);
	border-radius: 12px;
	min-height: 112px;
	padding: 17px;
	transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.hero-metrics div:hover {
	background: rgba(255, 255, 255, 0.062);
	border-color: rgba(255, 255, 255, 0.18);
	transform: translateY(-2px);
}

.hero-metrics strong {
	display: block;
	font-size: 32px;
	line-height: 1;
	margin-bottom: 12px;
}

.hero-metrics span,
.muted,
.panel-head p,
.row span {
	color: var(--muted);
}

.console-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 16px;
}

.panel {
	border-radius: 14px;
	overflow: hidden;
	padding: 22px;
	position: relative;
	transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.panel:hover {
	background: rgba(17, 20, 27, 0.92);
	border-color: rgba(255, 255, 255, 0.16);
}

.wide {
	grid-column: 1 / -1;
}

.panel-head {
	align-items: start;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-bottom: 20px;
}

.panel-head h2 {
	font-size: 19px;
	margin: 0 0 5px;
}

.panel-head p {
	font-size: 13px;
	line-height: 1.45;
	margin: 0;
}

.panel-head > span {
	color: var(--subtle);
	font-size: 12px;
	white-space: nowrap;
}

.stack {
	display: grid;
	gap: 13px;
}

.account-create {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr 1fr 1fr 1fr 0.8fr minmax(140px, auto);
	margin-bottom: 18px;
}

.settings-form {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-grid {
	align-items: start;
}

.settings-actions {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: flex-end;
}

.secondary-link {
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid var(--line);
	color: var(--text);
}

.table {
	display: grid;
	gap: 9px;
}

.empty-state {
	align-items: center;
	background: rgba(255, 255, 255, 0.035);
	border: 1px dashed rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	color: var(--muted);
	display: flex;
	min-height: 76px;
	padding: 16px;
}

.row {
	align-items: center;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid var(--line-soft);
	border-radius: 12px;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	padding: 13px 15px;
	transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.row:hover {
	background: rgba(255, 255, 255, 0.055);
	border-color: rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
}

.row div {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.row strong,
.row span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.row-actions {
	align-items: center;
	display: flex !important;
	flex-direction: row;
	gap: 8px !important;
}

.access-tag {
	background: var(--green-soft);
	border-color: rgba(65, 217, 144, 0.22);
	color: var(--green);
}

.pending-tag {
	background: rgba(245, 197, 107, 0.09);
	border-color: rgba(245, 197, 107, 0.2);
	color: var(--warn);
}

code {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--line-soft);
	border-radius: 7px;
	color: var(--text);
	font-size: 13px;
	padding: 6px 9px;
}

.small-button {
	min-height: 34px;
	padding: 7px 11px;
}

.notice,
.flash {
	background: rgba(245, 197, 107, 0.1);
	border: 1px solid rgba(245, 197, 107, 0.28);
	border-radius: 10px;
	color: #f8d58e;
	padding: 13px 15px;
}

.floating {
	margin-bottom: 16px;
}

.reveal {
	animation: reveal 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes reveal {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.panel:nth-child(1) {
	animation-delay: 40ms;
}

.panel:nth-child(2) {
	animation-delay: 80ms;
}

.panel:nth-child(3) {
	animation-delay: 120ms;
}

.panel:nth-child(4) {
	animation-delay: 160ms;
}

::-webkit-scrollbar {
	height: 10px;
	width: 10px;
}

::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.18);
	border: 3px solid var(--bg);
	border-radius: 999px;
}

::-webkit-scrollbar-track {
	background: transparent;
}

@media (max-width: 980px) {
	.topbar {
		grid-template-columns: 1fr auto;
	}

	.topbar nav {
		display: none;
	}

	.hero-panel,
	.console-grid,
	.account-create,
	.settings-form {
		grid-template-columns: 1fr;
	}

	.settings-actions {
		align-items: stretch;
		flex-direction: column;
	}
}

@media (max-width: 640px) {
	main {
		padding: 22px 16px 60px;
	}

	.hero-panel,
	.panel {
		padding: 18px;
	}

	.hero-metrics {
		grid-template-columns: 1fr;
	}

	.account span {
		display: none;
	}
}

/* Premium operations UI pass */
:root {
	--accent-blue: #8ab4ff;
	--danger: #ff6b6b;
	--danger-soft: rgba(255, 107, 107, 0.12);
}

main {
	max-width: 1400px;
	padding-top: 34px;
}

.topbar {
	height: 72px;
	padding: 0 max(34px, calc((100vw - 1400px) / 2));
}

.brand-logo,
.login-logo {
	box-shadow: 0 10px 40px rgba(255, 255, 255, 0.08);
}

.hero-panel,
.panel {
	border-radius: 8px;
}

.hero-panel {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 38%),
		linear-gradient(180deg, rgba(18, 22, 30, 0.96), rgba(10, 12, 17, 0.92));
	grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.75fr);
	min-height: 270px;
	padding: 34px;
}

.hero-copy h1 {
	letter-spacing: 0;
	max-width: 760px;
}

.hero-copy p {
	font-size: 18px;
	max-width: 720px;
}

.hero-metrics {
	gap: 12px;
}

.hero-metrics div,
.setup-card,
.empty-state,
.row,
input,
select,
textarea,
.notice,
.flash {
	border-radius: 8px;
}

.hero-metrics div {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.026)),
		radial-gradient(circle at top left, rgba(138, 180, 255, 0.16), transparent 42%);
	min-height: 122px;
	padding: 20px;
}

.hero-metrics strong {
	font-size: 38px;
}

.console-grid {
	gap: 20px;
	margin-top: 20px;
}

.panel {
	background:
		linear-gradient(180deg, rgba(18, 21, 28, 0.94), rgba(10, 12, 17, 0.94)),
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 42%);
	padding: 28px;
}

.panel-head {
	border-bottom: 1px solid var(--line-soft);
	margin: -2px 0 24px;
	padding-bottom: 18px;
}

.panel-head h2 {
	font-size: 24px;
	line-height: 1.1;
	margin-top: 4px;
}

.panel-head p {
	font-size: 15px;
	max-width: 680px;
}

.section-kicker {
	color: var(--accent-blue);
	display: inline-block;
	font-size: 11px;
	font-weight: 850;
	letter-spacing: 0;
	text-transform: uppercase;
}

label {
	font-size: 15px;
	gap: 10px;
}

input,
select,
textarea {
	border-color: rgba(255, 255, 255, 0.13);
	min-height: 58px;
	padding-left: 18px;
	padding-right: 18px;
}

select {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
		rgba(0, 0, 0, 0.42);
	font-weight: 700;
}

textarea {
	font-size: 16px;
	min-height: 340px;
	padding: 18px;
}

.stack {
	gap: 17px;
}

.stack button,
.account-create button,
.settings-actions button {
	min-height: 58px;
}

.account-create {
	background: rgba(255, 255, 255, 0.028);
	border: 1px solid var(--line-soft);
	border-radius: 8px;
	gap: 14px;
	grid-template-columns: 1.1fr 1fr 1fr 1fr 0.9fr minmax(160px, auto);
	padding: 16px;
}

.table {
	gap: 11px;
}

.row {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.026));
	border-color: rgba(255, 255, 255, 0.105);
	min-height: 74px;
	padding: 16px 18px;
}

.row div.identity-block {
	gap: 6px;
}

.row strong {
	font-size: 17px;
}

.row span {
	font-size: 14px;
	line-height: 1.35;
}

.reason-line {
	color: #d4d8e1 !important;
	white-space: normal !important;
}

.row-actions {
	flex-wrap: wrap;
	justify-content: flex-end;
	min-width: 190px;
}

.inline-form {
	display: inline-flex;
	margin: 0;
}

.rank-badge {
	background: rgba(138, 180, 255, 0.11);
	border: 1px solid rgba(138, 180, 255, 0.22);
	border-radius: 999px;
	color: #bcd2ff;
	font-size: 12px;
	font-weight: 800;
	padding: 7px 10px;
	white-space: nowrap;
}

.rank-owner {
	background: rgba(65, 217, 144, 0.12);
	border-color: rgba(65, 217, 144, 0.26);
	color: #6df0af;
}

.rank-developer {
	background: rgba(138, 180, 255, 0.13);
	border-color: rgba(138, 180, 255, 0.28);
	color: #bcd2ff;
}

.rank-moderator,
.rank-trial-moderator {
	background: rgba(245, 197, 107, 0.12);
	border-color: rgba(245, 197, 107, 0.24);
	color: #f8d58e;
}

.danger-button {
	background: var(--danger-soft);
	border-color: rgba(255, 107, 107, 0.28);
	box-shadow: none;
	color: #ffd0d0;
}

.danger-button:hover {
	background: rgba(255, 107, 107, 0.18);
	border-color: rgba(255, 107, 107, 0.42);
}

.small-button {
	min-height: 38px;
	padding: 8px 13px;
}

.row time {
	color: var(--subtle);
	font-size: 12px;
	white-space: nowrap;
}

.legal-page {
	background:
		linear-gradient(180deg, rgba(18, 21, 28, 0.94), rgba(10, 12, 17, 0.94));
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
	margin: 80px auto 0;
	max-width: 980px;
	padding: 52px;
	text-align: left;
}

.legal-page .login-logo {
	margin-left: 0;
}

.legal-page h1 {
	font-size: clamp(38px, 4vw, 60px);
	line-height: 1;
	margin-bottom: 28px;
}

.legal-page p {
	font-size: 18px;
	line-height: 1.78;
	margin-left: 0;
	max-width: none;
}

.settings-form {
	gap: 18px;
}

.settings-grid .panel:not(.wide) textarea {
	min-height: 430px;
}

.settings-actions {
	background: rgba(255, 255, 255, 0.035);
	position: sticky;
	bottom: 16px;
	z-index: 4;
}

.flash.floating {
	font-size: 16px;
	font-weight: 750;
	margin: 0 0 20px;
	padding: 16px 18px;
}

@media (max-width: 1120px) {
	.hero-panel,
	.account-create {
		grid-template-columns: 1fr;
	}

	.row {
		align-items: flex-start;
		flex-direction: column;
	}

	.row-actions {
		justify-content: flex-start;
		min-width: 0;
	}
}

@media (max-width: 640px) {
	.hero-panel,
	.panel,
	.legal-page {
		padding: 20px;
	}

	.legal-page {
		margin-top: 40px;
	}
}

/* Public review flow and spacing polish */
.entry-shell {
	display: grid;
	gap: 24px;
	margin: 0 auto;
	max-width: 1180px;
	min-height: calc(100vh - 72px);
	padding: 74px 24px;
	place-content: center;
}

.compact-entry {
	max-width: 860px;
}

.entry-hero {
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 42%),
		linear-gradient(180deg, rgba(17, 20, 27, 0.94), rgba(8, 10, 14, 0.94));
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
	padding: 54px;
	text-align: center;
}

.entry-hero h1 {
	font-size: clamp(44px, 6vw, 78px);
	line-height: 0.98;
	margin: 18px auto;
	max-width: 960px;
}

.entry-hero p {
	color: var(--muted);
	font-size: 19px;
	line-height: 1.65;
	margin: 0 auto;
	max-width: 760px;
}

.centered-pills {
	justify-content: center;
	margin-bottom: 8px;
}

.entry-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 32px;
}

.primary-link {
	background: linear-gradient(180deg, #f6f7fa, #dfe3ea);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #07090d;
	font-weight: 850;
	min-width: 170px;
}

.entry-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-card {
	background: rgba(15, 18, 24, 0.88);
	border: 1px solid var(--line-soft);
	border-radius: 8px;
	padding: 24px;
}

.entry-card h2 {
	font-size: 21px;
	margin: 8px 0 10px;
}

.entry-card p {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

.entry-card a {
	color: var(--text);
	text-underline-offset: 4px;
}

.login-shell {
	align-items: start;
	padding-top: clamp(42px, 7vh, 86px);
}

.login-card {
	max-width: 720px;
	padding: 0 20px;
}

.login-card .muted {
	font-size: 18px;
	line-height: 1.5;
	margin-left: auto;
	margin-right: auto;
	max-width: 650px;
}

.login-form {
	gap: 24px;
	margin-top: 44px;
}

.login-form label {
	font-size: 17px;
}

.login-form input {
	font-size: 17px;
	min-height: 66px;
	padding: 0 22px;
}

.login-form .primary-light {
	min-height: 66px;
}

select {
	cursor: pointer;
	font-size: 16px;
	height: 60px;
	line-height: 1.25;
	padding-bottom: 0;
	padding-top: 0;
}

.stack label {
	font-size: 16px;
}

.stack select,
.stack input {
	font-size: 16px;
	min-height: 62px;
}

.stack button {
	margin-top: 2px;
}

.panel:has(select) {
	padding-bottom: 30px;
}

.panel-head + .stack {
	margin-top: 2px;
}

@media (max-width: 900px) {
	.entry-grid {
		grid-template-columns: 1fr;
	}

	.entry-hero {
		padding: 34px 22px;
	}

	.login-card {
		max-width: 620px;
	}
}

/* Clean public entry redesign */
.public-entry {
	display: grid;
	gap: 22px;
	margin: 0 auto;
	max-width: 1240px;
	min-height: calc(100vh - 72px);
	padding: clamp(38px, 7vh, 76px) 30px 70px;
}

.public-hero-card {
	align-self: center;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 36%),
		linear-gradient(180deg, rgba(17, 21, 29, 0.96), rgba(8, 10, 14, 0.96));
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	box-shadow: var(--shadow);
	display: grid;
	gap: 38px;
	grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
	padding: clamp(34px, 5vw, 58px);
	position: relative;
}

.public-hero-card::before {
	background: linear-gradient(90deg, rgba(138, 180, 255, 0.55), transparent 45%, rgba(65, 217, 144, 0.32));
	content: "";
	height: 1px;
	left: 34px;
	position: absolute;
	right: 34px;
	top: 0;
}

.public-copy {
	align-content: center;
	display: grid;
	gap: 20px;
}

.portal-mark {
	align-items: center;
	display: flex;
	gap: 14px;
	margin-bottom: 6px;
}

.large-brand {
	font-size: 28px;
	height: 48px;
	width: 48px;
}

.portal-mark div {
	display: grid;
	gap: 3px;
}

.portal-mark strong {
	font-size: 18px;
}

.portal-mark span:last-child {
	color: var(--muted);
	font-size: 13px;
}

.public-copy h1 {
	font-size: clamp(44px, 5.8vw, 76px);
	line-height: 0.98;
	margin: 0;
	max-width: 760px;
}

.public-copy p {
	color: var(--muted);
	font-size: 18px;
	line-height: 1.65;
	margin: 0;
	max-width: 680px;
}

.left-actions {
	justify-content: flex-start;
	margin-top: 8px;
}

.review-panel {
	align-self: stretch;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
	border: 1px solid var(--line-soft);
	border-radius: 8px;
	display: grid;
	gap: 14px;
	padding: 24px;
}

.review-panel h2 {
	font-size: 27px;
	margin: 0;
}

.review-panel p {
	color: var(--muted);
	line-height: 1.55;
	margin: 0;
}

.review-links {
	display: grid;
	gap: 10px;
	margin-top: 8px;
}

.review-links a {
	align-items: center;
	background: rgba(0, 0, 0, 0.22);
	border: 1px solid var(--line-soft);
	border-radius: 8px;
	color: var(--text);
	display: flex;
	justify-content: space-between;
	padding: 14px 15px;
	text-decoration: none;
	transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.review-links a:hover {
	background: rgba(255, 255, 255, 0.055);
	border-color: rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
}

.review-links span {
	color: var(--subtle);
	font-size: 13px;
}

.public-feature-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.single-column {
	grid-template-columns: 1fr;
	justify-items: center;
	text-align: center;
}

.centered-copy {
	justify-items: center;
}

.centered-mark {
	justify-content: center;
}

.compact-entry {
	max-width: 860px;
}

@media (max-width: 980px) {
	.public-hero-card,
	.public-feature-grid {
		grid-template-columns: 1fr;
	}

	.public-copy,
	.left-actions {
		justify-items: center;
		text-align: center;
		justify-content: center;
	}

	.portal-mark {
		justify-content: center;
	}
}

@media (max-width: 640px) {
	.public-entry {
		padding: 28px 16px 54px;
	}

	.public-hero-card {
		padding: 24px;
	}

	.entry-actions {
		align-items: stretch;
		flex-direction: column;
	}
}
