/* Shared shell and typography only. Content layouts live in each HTML's #page-styles. */
:root {
	--primary-color: #0F2C59;
	--accent-color: #0066CC;
	--warning-color: #D97706;
	--text-main: #1F2937;
	--text-muted: #6B7280;
	--bg-light: #F8FAFC;
	--card-bg: #fff;
	--border-color: #E2E8F0;
	--shadow-sm: 0 1px 3px #0000000d;
	--shadow-md: 0 4px 12px #00000014;
	--radius-md: 8px;
	--radius-lg: 12px
}

* {
	box-sizing: border-box
}

body {
	margin: 0;
	background: var(--bg-light);
	color: var(--text-main);
	font: 15px/1.7 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	-webkit-font-smoothing: antialiased
}

a {
	color: var(--accent-color);
	text-underline-offset: 3px;
	text-decoration: none;
}

a:hover {
	color: var(--primary-color)
}

img {
	max-width: 100%;
	height: auto
}

button,
input,
summary {
	font: inherit
}

button,
summary {
	cursor: pointer
}

a,
button,
summary {
	transition: background-color .2s, color .2s
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--accent-color);
	outline-offset: 4px
}

[hidden] {
	display: none !important
}

.site-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px
}

.skip-link {
	position: fixed;
	top: -100px;
	left: 20px;
	z-index: 2000;
	padding: 10px 20px;
	background: #fff
}

.skip-link:focus {
	top: 10px
}

.page-hero {
	background: linear-gradient(120deg, #0f2c59f2, #0f2c59c9), url('../img/3.webp') center 48%/cover;
	color: #fff;
	padding: 46px 0 42px
}

.page-hero h1 {
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	line-height: 1.2;
	margin: 8px 0 14px;
	font-weight: 800;
	overflow-wrap: anywhere
}

.page-hero p {
	margin: 0;
	color: #e2e8f0
}

.page-hero .eyebrow {
	font-size: 12px;
	letter-spacing: 2px;
	font-weight: 700
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0;
	color: var(--text-muted);
	font-size: 13px
}

.breadcrumb a {
	text-decoration: none
}

/* Layout: footer reaches the viewport bottom on short pages. */
body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

body>header,
body>section,
body>footer {
	flex-shrink: 0;
}

main.site-container {
	width: 100%;
	flex: 1 0 auto;
	padding-bottom: 60px;
}

.content-card {
	width: 100%;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 36px;
	box-shadow: var(--shadow-sm);
	overflow-wrap: anywhere;
	font-size: 15px;
	line-height: 1.7;
	font-weight: 400;
}

.content-card p {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.7;
	font-weight: 400;
}

.content-card h2 {
	margin: 32px 0 16px;
	font-size: 22px;
	line-height: 1.4;
	font-weight: 700;
	color: var(--primary-color);
}

.content-card h3,
.content-card h4 {
	margin: 24px 0 12px;
	font-size: 18px;
	line-height: 1.5;
	font-weight: 600;
	color: var(--primary-color);
}

.content-card> :first-child {
	margin-top: 0;
}

.content-card> :last-child {
	margin-bottom: 0;
}

.content-card h2 *,
.content-card h3 *,
.content-card h4 * {
	font-size: inherit;
	font-weight: inherit;
}

.content-card ul,
.content-card ol {
	margin: 0 0 16px;
	padding-left: 24px;
}

.content-card li {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.7;
}

.content-card strong {
	font-weight: 600;
}

.content-card img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.content-card hr {
	margin: 28px 0;
	border: 0;
	border-top: 1px solid var(--border-color);
}

.paragraph-group {
	margin-bottom: 16px;
}

.table-scroll {
	max-width: 100%;
	overflow-x: auto;
	margin: 24px 0;
	border: 1px solid var(--border-color);
	border-radius: 8px;
}

.content-card>.table-scroll:first-child {
	margin-top: 0;
}

table {
	border-collapse: collapse;
	width: 100%;
	font-size: 15px;
	line-height: 1.7;
}

th,
td {
	padding: 16px 20px;
	border-bottom: 1px solid var(--border-color);
	text-align: left;
	vertical-align: top;
}

th {
	background: #edf3fb;
	color: var(--primary-color);
	font-weight: 600;
}

tr:last-child>td {
	border-bottom: 0;
}

td p:last-child,
th p:last-child {
	margin-bottom: 0;
}

.button,
.layui-btn {
	display: inline-block;
	background: var(--accent-color);
	border: 0;
	color: #fff;
	border-radius: 20px;
	padding: 9px 22px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
}

.button:hover,
.layui-btn:hover {
	background: var(--primary-color);
	color: #fff;
}

.layui-input {
	padding: 10px 14px;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	max-width: 100%;
	min-width: 0;
}

.footer {
	background: #0F172A;
	color: #94A3B8;
	text-align: center;
	font-size: 14px;
	padding: 35px 0;
	margin: 0;
}

.footer p {
	margin: 0 0 6px;
}

.footer p:last-child {
	margin-bottom: 0;
}

.footer a {
	color: #E2E8F0;
	text-decoration: none;
}

@media(max-width:600px) {
	.site-container {
		padding: 0 16px;
	}



	.page-hero {
		padding: 32px 0;
	}

	main.site-container {
		padding-bottom: 40px;
	}

	.content-card {
		padding: 24px 20px;
	}

	th,
	td {
		padding: 12px;
	}

	.page-registration .table-scroll::before,
	.page-registration_all .table-scroll::before,
	.page-download .table-scroll::before,
	.page-rpshrehq .table-scroll::before {
		content: 'Swipe to view the full table →';
		display: block;
		font-size: 12px;
		color: var(--text-muted);
		padding: 8px 12px;
	}
}

@media(prefers-reduced-motion:reduce) {
	* {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

@media print {

	.site-header,
	.skip-link,
	.breadcrumb {
		display: none
	}

	body {
		display: block;
		min-height: 0
	}

	.page-hero {
		background: #fff;
		color: #0f2c59;
		padding: 0
	}

	.page-hero p {
		color: #1f2937
	}

	.content-card {
		padding: 0;
		border: 0;
		box-shadow: none
	}

	.table-scroll {
		overflow: visible
	}

	.footer {
		background: white;
		color: #1f2937
	}

	.footer a {
		color: inherit
	}
}

.content-card h2 sup,
.content-card h3 sup {
	font-size: .75em
}