:root {
	--rh-accent: #0f766e;
	--rh-border: #d7dde4;
	--rh-bg: #f7fafc;
	--rh-text: #1f2937;
}

.rh-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 16px;
	color: var(--rh-text);
}

.rh-grid {
	display: grid;
	gap: 20px;
}

.rh-grid-masters,
.rh-grid-works,
.rh-grid-categories {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.rh-grid-offers {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.rh-card {
	background: #fff;
	border: 1px solid var(--rh-border);
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.rh-cover-image,
.rh-cover-wrap img,
.rh-master-hero__media img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 14px;
}

.rh-filter-form,
.rh-form,
.rh-dashboard-nav,
.rh-actions,
.rh-meta-grid,
.rh-admin-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.rh-filter-form,
.rh-form-wrap .rh-form,
.rh-dashboard {
	margin-bottom: 24px;
}

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

.rh-grid-form {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.rh-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rh-field--full {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 8px;
}

.rh-field__label {
	font-size: 14px;
	font-weight: 600;
}

.rh-required-mark {
	color: #b91c1c;
}

.rh-form-note,
.rh-form-login-hint {
	margin: 0 0 12px;
	font-size: 14px;
	color: #475569;
}

.rh-checkbox-inline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 8px 0;
}

.rh-consent-box {
	margin: 10px 0 4px;
	padding: 14px 16px;
	border-radius: 16px;
	background: #fff7ed;
	border: 1px solid #fed7aa;
}

.rh-consent-hint {
	margin: 8px 0 0;
	font-size: 14px;
	color: #9a3412;
}

.rh-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border: 1px solid var(--rh-border);
	border-radius: 999px;
	background: #fff;
	color: var(--rh-text);
	text-decoration: none;
	cursor: pointer;
}

.rh-button-primary {
	background: var(--rh-accent);
	border-color: var(--rh-accent);
	color: #fff;
}

.rh-badge {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 999px;
	background: #eef6f5;
	font-size: 12px;
}

.rh-badge-verified {
	background: #d1fae5;
	color: #065f46;
}

.rh-rating-stars .rh-star {
	color: #cbd5e1;
}

.rh-rating-stars .rh-star.is-active {
	color: #f59e0b;
}

.rh-notice {
	padding: 14px 16px;
	border-radius: 14px;
	margin-bottom: 16px;
}

.rh-notice-success {
	background: #ecfdf5;
	color: #166534;
}

.rh-notice-error {
	background: #fef2f2;
	color: #991b1b;
}

.rh-notice-info {
	background: #eff6ff;
	color: #1d4ed8;
}

.rh-dashboard-nav a {
	text-decoration: none;
	padding: 10px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--rh-border);
}

.rh-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

.rh-breadcrumbs {
	margin-bottom: 16px;
	font-size: 14px;
}

.rh-offer-card__content {
	display: grid;
	gap: 14px;
}

.rh-offer-card__content h3 {
	margin: 0;
}

.rh-offer-card__short,
.rh-offer-card__included {
	margin: 0;
	color: #475569;
}

.rh-account-hub__grid {
	align-items: stretch;
}

.rh-account-hub__card {
	display: grid;
	gap: 16px;
	align-content: start;
}

.rh-account-hub__card h3 {
	margin: 0;
}

.rh-account-hub__card p {
	margin: 0;
	color: #475569;
}

.rh-account-hub__list {
	margin: 0;
	padding-left: 18px;
	color: #334155;
	display: grid;
	gap: 8px;
}

.rh-account-page {
	display: grid;
	gap: 24px;
}

.rh-account-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
	gap: 20px;
	align-items: stretch;
}

.rh-account-hero--single {
	grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
}

.rh-account-hero__panel {
	padding: 28px;
	border-radius: 28px;
	border: 1px solid var(--rh-border);
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.rh-account-hero__panel--dark {
	background:
		linear-gradient(145deg, rgba(15, 118, 110, 0.98), rgba(12, 74, 110, 0.94)),
		#0f766e;
	color: #fff;
}

.rh-account-hero__panel--dark .rh-badge {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.rh-account-hero__panel--dark h2,
.rh-account-hero__panel--light h3,
.rh-account-role h3 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
}

.rh-account-hero__panel--light h3,
.rh-account-role h3 {
	font-size: 1.8rem;
}

.rh-account-hero__panel p,
.rh-account-role p {
	margin: 0;
	line-height: 1.7;
}

.rh-account-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.rh-account-chip {
	display: inline-flex;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	font-size: 13px;
}

.rh-account-login {
	display: grid;
	gap: 14px;
}

.rh-account-login__actions {
	margin-top: 6px;
}

.rh-account-roles__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rh-account-role {
	display: grid;
	gap: 16px;
	align-content: start;
}

.rh-account-role__list {
	margin: 0;
	padding-left: 18px;
	display: grid;
	gap: 8px;
	color: #475569;
}

@media (max-width: 767px) {
	.rh-container {
		padding: 18px 12px;
	}

	.rh-account-hero,
	.rh-account-roles__grid {
		grid-template-columns: 1fr;
	}

	.rh-account-hero__panel--dark h2,
	.rh-account-hero__panel--light h3,
	.rh-account-role h3 {
		font-size: 1.8rem;
	}
}
