.hc-portal {
	--hc-ink: #132238;
	--hc-muted: #5a6b7f;
	--hc-border: #d8e1ea;
	--hc-accent: #0f766e;
	--hc-accent-strong: #0b5d58;
	--hc-bg: linear-gradient(180deg, #f4fbfc 0%, #ffffff 100%);
	--hc-card: #ffffff;
	--hc-shadow: 0 14px 34px rgba(15, 35, 56, 0.08);
	background: var(--hc-bg);
	border: 1px solid var(--hc-border);
	border-radius: 24px;
	box-shadow: var(--hc-shadow);
	padding: 28px;
	color: var(--hc-ink);
}

.hc-hero h2,
.hc-section-header h3,
.hc-doc-card h4 {
	margin: 0;
	color: var(--hc-ink);
}

.hc-hero p,
.hc-section-header p,
.hc-doc-card p,
.hc-empty-state p,
.hc-doc-meta,
.hc-request-form span {
	color: var(--hc-muted);
}

.hc-eyebrow {
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--hc-accent);
}

.hc-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 20px;
	margin-top: 24px;
}

.hc-panel {
	background: var(--hc-card);
	border: 1px solid var(--hc-border);
	border-radius: 20px;
	padding: 22px;
}

.hc-site-shell {
	max-width: 1240px;
	margin: 0 auto;
	padding: 32px 20px 64px;
}

.hc-doc-template,
.hc-archive-grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
	gap: 24px;
}

.hc-doc-main {
	min-width: 0;
}

.hc-doc-title {
	margin: 0 0 12px;
	font-size: clamp(2rem, 3vw, 3.4rem);
	line-height: 1.05;
}

.hc-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0 24px;
}

.hc-chip {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 8px 12px;
	background: #dff5f2;
	color: var(--hc-accent-strong);
	font-size: 0.9rem;
	font-weight: 700;
}

.hc-chip-muted {
	background: #eef4f8;
	color: var(--hc-muted);
}

.hc-doc-body {
	font-size: 1.02rem;
	line-height: 1.7;
}

.hc-doc-body > :first-child {
	margin-top: 0;
}

.hc-doc-sidebar {
	display: grid;
	gap: 18px;
	align-content: start;
}

.hc-side-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.hc-side-list a,
.hc-link-button {
	color: var(--hc-accent-strong);
	text-decoration: none;
	font-weight: 600;
}

.hc-side-list a:hover,
.hc-link-button:hover {
	color: var(--hc-accent);
}

.hc-section-header {
	margin-bottom: 18px;
}

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

.hc-search-form input,
.hc-search-form select,
.hc-request-form input,
.hc-request-form select,
.hc-request-form textarea {
	width: 100%;
	border: 1px solid var(--hc-border);
	border-radius: 12px;
	padding: 12px 14px;
	background: #fff;
	box-sizing: border-box;
}

.hc-search-form input:first-child {
	grid-column: 1 / -1;
}

.hc-search-form button,
.hc-request-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	padding: 12px 18px;
	background: var(--hc-accent);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease;
}

.hc-search-form button:hover,
.hc-request-form button:hover {
	background: var(--hc-accent-strong);
}

.hc-ticket-form input:first-child {
	grid-column: auto;
}

.hc-doc-list {
	display: grid;
	gap: 14px;
	margin-top: 18px;
}

.hc-doc-card {
	border: 1px solid var(--hc-border);
	border-radius: 16px;
	padding: 16px;
	background: #fdfefe;
}

.hc-doc-card a {
	color: var(--hc-ink);
	text-decoration: none;
}

.hc-doc-card a:hover {
	color: var(--hc-accent);
}

.hc-doc-card h2,
.hc-doc-card h4 {
	font-size: 1.2rem;
}

.hc-doc-meta {
	font-size: 0.88rem;
	margin-bottom: 8px;
}

.hc-pill-group {
	display: inline-flex;
	gap: 10px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.hc-pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--hc-border);
	border-radius: 999px;
	padding: 10px 14px;
	background: #f7fafc;
	cursor: pointer;
	font-weight: 600;
	color: var(--hc-ink);
}

.hc-pill input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.hc-pill.is-active {
	border-color: var(--hc-accent);
	background: #e7f8f4;
	color: var(--hc-accent-strong);
}

.hc-request-form {
	display: grid;
	gap: 14px;
}

.hc-request-form label {
	display: grid;
	gap: 6px;
}

.hc-request-form small {
	color: var(--hc-muted);
}

.hc-full-width {
	grid-column: 1 / -1;
}

.hc-subsection {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--hc-border);
}

.hc-ticket-results {
	margin-top: 16px;
}

.hc-ticket-card {
	border: 1px solid var(--hc-border);
	border-radius: 16px;
	padding: 18px;
	background: #fcffff;
}

.hc-ticket-card h4 {
	margin: 10px 0;
}

.hc-ticket-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hc-badge {
	display: inline-flex;
	align-items: center;
	padding: 7px 10px;
	border-radius: 999px;
	background: #e7f8f4;
	color: var(--hc-accent-strong);
	font-size: 0.82rem;
	font-weight: 700;
}

.hc-badge-status {
	background: #eef4f8;
	color: var(--hc-ink);
}

.hc-ticket-files {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.hc-ticket-files a {
	color: var(--hc-accent-strong);
	text-decoration: none;
}

.hc-ticket-files a:hover {
	color: var(--hc-accent);
}

.hc-notice,
.hc-empty-state {
	border-radius: 16px;
	padding: 16px;
}

.hc-notice {
	background: #e7f8f4;
	color: var(--hc-accent-strong);
	border: 1px solid #b8e7db;
}

.hc-empty-state {
	background: #f7fafc;
	border: 1px dashed var(--hc-border);
}

.hc-archive-hero {
	margin-bottom: 24px;
}

.hc-archive-description {
	max-width: 720px;
	color: var(--hc-muted);
	margin-bottom: 18px;
}

.hc-pagination {
	margin-top: 14px;
}

.hc-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

@media (max-width: 860px) {
	.hc-doc-template,
	.hc-archive-grid,
	.hc-grid,
	.hc-search-form,
	.hc-form-grid {
		grid-template-columns: 1fr;
	}

	.hc-portal {
		padding: 18px;
		border-radius: 18px;
	}

	.hc-panel {
		padding: 18px;
	}
}
