:root {
	--hub-bg: #f7f6fb;
	--hub-panel: #ffffff;
	--hub-panel-raised: #efedf7;
	--hub-border: #d7d2e4;
	--hub-text: #24253f;
	--hub-muted: #595c73;
	--hub-control-bg: #ffffff;
	--hub-control-border: #8c839e;
	--hub-placeholder: #676078;
	--hub-accent: #6644a8;
	--hub-accent-strong: #57368f;
	--hub-on-accent: #ffffff;
	--hub-danger: #ad3434;
	--hub-radius: 18px;
}

.hub-market {
	box-sizing: border-box;
	color: var(--hub-text);
	background: var(--hub-bg);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	padding: clamp(24px, 5vw, 72px) clamp(18px, 5vw, 80px);
}

.hub-marketplace-view,
.hub-marketplace-view .wp-site-blocks,
.hub-marketplace-view .wp-block-post-content {
	background: var(--hub-bg) !important;
	color: var(--hub-text);
}

.hub-marketplace-view .wp-site-blocks > header,
.hub-marketplace-view .wp-site-blocks > footer,
.hub-marketplace-view .wp-site-blocks > main {
	background: var(--hub-bg);
	color: var(--hub-text);
}

.hub-marketplace-view.home .wp-block-post-title {
	display: none !important;
}

.hub-marketplace-view.home .wp-block-post-content {
	margin-block-start: 0 !important;
}

.hub-marketplace-view .wp-site-blocks a:not(.hub-button):not(.hub-text-link) {
	color: var(--hub-text);
}

.hub-market *,
.hub-market *::before,
.hub-market *::after {
	box-sizing: border-box;
}

.hub-market a {
	color: inherit;
	text-decoration: none;
}

.hub-market a:focus-visible,
.hub-market button:focus-visible,
.hub-market input:focus-visible,
.hub-market textarea:focus-visible,
.hub-market select:focus-visible {
	outline: 3px solid var(--hub-accent);
	outline-offset: 3px;
}

.hub-hero,
.hub-section,
.hub-search-page,
.hub-workspace,
.hub-form-shell,
.hub-auth-shell {
	margin: 0 auto;
	max-width: 1240px;
}

.hub-hero {
	padding: clamp(42px, 9vw, 116px) 0 70px;
}

.hub-eyebrow {
	color: var(--hub-accent);
	font-size: 14px;
	font-weight: 750;
	letter-spacing: .16em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.hub-hero h1,
.hub-dashboard-head h1,
.hub-search-head h1,
.hub-form h1,
.hub-section h2 {
	font-size: clamp(36px, 6vw, 72px);
	letter-spacing: -.055em;
	line-height: 1.06;
	margin: 0;
	max-width: 900px;
}

.hub-hero h1 span {
	color: var(--hub-accent);
}

.hub-lead,
.hub-muted {
	color: var(--hub-muted);
}

.hub-lead {
	font-size: clamp(17px, 2vw, 21px);
	margin: 24px 0 30px;
	max-width: 660px;
}

.hub-actions,
.hub-proof,
.hub-form-row,
.hub-panel-title,
.hub-dashboard-head,
.hub-card-meta,
.hub-card-footer {
	align-items: center;
	display: flex;
	gap: 14px;
}

.hub-actions {
	flex-wrap: wrap;
}

.hub-button {
	align-items: center;
	background: var(--hub-panel-raised);
	border: 1px solid var(--hub-border);
	border-radius: 12px;
	color: var(--hub-text) !important;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	justify-content: center;
	min-height: 48px;
	padding: 11px 22px;
	touch-action: manipulation;
	transition: border-color .18s ease;
}

.hub-button:hover {
	border-color: var(--hub-accent);
}

.hub-button--primary {
	background: var(--hub-accent);
	border-color: var(--hub-accent);
	color: var(--hub-on-accent) !important;
}

.hub-button--primary:hover {
	background: var(--hub-accent-strong);
	border-color: var(--hub-accent-strong);
}

.hub-button--full {
	width: 100%;
}

.hub-proof {
	color: var(--hub-muted);
	flex-wrap: wrap;
	font-size: 13px;
	margin-top: 40px;
}

.hub-proof span {
	border-left: 1px solid var(--hub-border);
	padding-left: 14px;
}

.hub-section {
	border-top: 1px solid var(--hub-border);
	padding: 64px 0;
}

.hub-section-heading {
	align-items: end;
	display: flex;
	justify-content: space-between;
	margin-bottom: 26px;
}

.hub-section h2,
.hub-panel h2 {
	font-size: clamp(26px, 4vw, 40px);
}

.hub-category-grid,
.hub-project-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-category-card,
.hub-project-card,
.hub-panel {
	background: var(--hub-panel);
	border: 1px solid var(--hub-border);
	border-radius: var(--hub-radius);
}

.hub-category-card {
	min-height: 160px;
	padding: 22px;
	transition: border-color .18s ease, background .18s ease;
}

.hub-category-card:hover,
.hub-project-card:hover {
	background: #101518;
	border-color: #3a5149;
}

.hub-category-mark {
	color: var(--hub-accent);
	font-size: 20px;
}

.hub-category-card h3 {
	font-size: 17px;
	line-height: 1.35;
	margin: 14px 0 5px;
}

.hub-category-card > span:last-child,
.hub-card-meta,
.hub-results-count {
	color: var(--hub-muted);
	font-size: 13px;
}

.hub-section--split {
	display: grid;
	gap: 40px;
	grid-template-columns: .9fr 1.1fr;
}

.hub-text-link {
	color: var(--hub-accent) !important;
	font-weight: 700;
}

.hub-steps {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hub-steps li {
	border-bottom: 1px solid var(--hub-border);
	display: flex;
	gap: 20px;
	padding: 20px 0;
}

.hub-steps li > span {
	color: var(--hub-accent);
	font-size: 13px;
	font-weight: 800;
}

.hub-steps h3,
.hub-steps p {
	margin: 0;
}

.hub-steps p {
	color: var(--hub-muted);
	margin-top: 5px;
}

.hub-dashboard-head {
	justify-content: space-between;
	margin-bottom: 30px;
}

.hub-dashboard-head h1,
.hub-search-head h1,
.hub-form h1 {
	font-size: clamp(30px, 4vw, 46px);
}

.hub-stats {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 24px;
}

.hub-stats > div {
	background: var(--hub-panel);
	border: 1px solid var(--hub-border);
	border-radius: 14px;
	min-height: 132px;
	padding: 18px;
}

.hub-stats span,
.hub-stats strong {
	display: block;
}

.hub-stats span {
	color: var(--hub-muted);
	font-size: 13px;
}

.hub-stats strong {
	font-size: 24px;
	margin-top: 4px;
}

.hub-stats .hub-stat-icon {
	align-items: center;
	background: var(--hub-panel-raised);
	border: 1px solid var(--hub-border);
	border-radius: 11px;
	color: var(--hub-accent);
	display: inline-flex;
	height: 38px;
	justify-content: center;
	margin: 0 0 14px;
	width: 38px;
}

.hub-stat-icon svg {
	height: 20px;
	width: 20px;
}

.hub-panel {
	margin: 0 0 18px;
	padding: clamp(20px, 3vw, 30px);
}

.hub-panel-title {
	justify-content: space-between;
	margin-bottom: 12px;
}

.hub-panel-title h2 {
	align-items: center;
	display: inline-flex;
	font-size: 22px;
	gap: 10px;
	margin: 0;
}

.hub-dashboard-head h1 {
	overflow-wrap: anywhere;
}

.hub-dashboard-guidance {
	align-items: stretch;
	background: linear-gradient(120deg, var(--hub-panel) 0%, var(--hub-panel-raised) 100%);
	display: grid;
	gap: clamp(20px, 4vw, 44px);
	grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
	margin-bottom: 22px;
	overflow: hidden;
}

.hub-dashboard-guidance-main,
.hub-dashboard-guidance-side {
	min-width: 0;
}

.hub-dashboard-guidance-main h2 {
	font-size: clamp(22px, 3vw, 30px);
	letter-spacing: -.035em;
	line-height: 1.2;
	margin: 0 0 8px;
	overflow-wrap: anywhere;
}

.hub-dashboard-guidance-main > .hub-muted {
	margin: 0 0 18px;
}

.hub-dashboard-guidance-main .hub-button {
	gap: 8px;
}

.hub-dashboard-guidance-side {
	align-content: center;
	display: grid;
	gap: 16px;
}

.hub-dashboard-daily-tip {
	border-left: 3px solid var(--hub-accent);
	padding-left: 16px;
}

.hub-dashboard-tip-label {
	color: var(--hub-accent-strong);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .08em;
	margin: 0 0 5px;
	text-transform: uppercase;
}

.hub-dashboard-daily-tip > p:not(.hub-dashboard-tip-label) {
	color: var(--hub-text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	margin: 0 0 8px;
}

.hub-dashboard-tip-dismiss {
	background: transparent;
	border: 0;
	color: var(--hub-muted);
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	min-height: 36px;
	padding: 4px 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hub-dashboard-tip-dismiss:hover {
	color: var(--hub-accent-strong);
}

.hub-dashboard-guidance-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.hub-dashboard-guidance-links a {
	color: var(--hub-accent-strong);
	font-size: 13px;
	font-weight: 700;
	text-underline-offset: 3px;
}

.hub-dashboard-guidance-links a span {
	white-space: nowrap;
}

.hub-section-icon {
	align-items: center;
	background: var(--hub-panel-raised);
	border: 1px solid var(--hub-border);
	border-radius: 10px;
	color: var(--hub-accent);
	display: inline-flex;
	flex-shrink: 0;
	height: 36px;
	justify-content: center;
	width: 36px;
}

.hub-section-icon svg {
	height: 19px;
	width: 19px;
}

.hub-dashboard-actions {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 0 24px;
}

.hub-dashboard-action {
	align-items: center;
	background: var(--hub-panel);
	border: 1px solid var(--hub-border);
	border-radius: 14px;
	color: var(--hub-text);
	display: flex;
	gap: 12px;
	min-height: 82px;
	padding: 14px;
	text-decoration: none;
	transition: border-color .16s ease, transform .16s ease;
}

.hub-dashboard-action:hover,
.hub-dashboard-action:focus-visible {
	border-color: var(--hub-accent);
	color: var(--hub-text);
	transform: translateY(-2px);
}

.hub-dashboard-action-icon {
	align-items: center;
	background: var(--hub-panel-raised);
	border: 1px solid var(--hub-border);
	border-radius: 11px;
	color: var(--hub-accent);
	display: inline-flex;
	flex: 0 0 42px;
	height: 42px;
	justify-content: center;
}

.hub-dashboard-action-icon svg {
	height: 22px;
	width: 22px;
}

.hub-dashboard-action-copy {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.hub-dashboard-action-copy strong {
	font-size: 15px;
	line-height: 1.3;
}

.hub-dashboard-action-copy > span {
	color: var(--hub-muted);
	font-size: 14px;
	line-height: 1.4;
}

.hub-dashboard-action-arrow {
	color: var(--hub-muted);
	font-size: 20px;
	margin-left: auto;
}

.hub-panel-total {
	color: var(--hub-muted);
	font-size: 14px;
	font-weight: 650;
}

.hub-member-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hub-member-list li {
	align-items: center;
	border-top: 1px solid var(--hub-border);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 12px 0;
}

.hub-status {
	border: 1px solid var(--hub-border);
	border-radius: 999px;
	color: var(--hub-muted);
	font-size: 12px;
	padding: 3px 10px;
}

.hub-status--publish,
.hub-status--approved {
	border-color: #29634e;
	color: var(--hub-accent);
}

.hub-search-head {
	margin-bottom: 26px;
}

.hub-search-form {
	background: var(--hub-panel);
	border: 1px solid var(--hub-border);
	border-radius: 16px;
	display: flex;
	gap: 10px;
	padding: 10px;
}

.hub-search-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.hub-search-form select,
.hub-form input:not([type="checkbox"]),
.hub-form select,
.hub-form textarea {
	background: var(--hub-control-bg);
	border: 1px solid var(--hub-control-border);
	border-radius: 10px;
	color: var(--hub-text);
	font: inherit;
	min-height: 48px;
	padding: 11px 14px;
	width: 100%;
}

.hub-search-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
	border: 1px solid var(--hub-control-border);
	flex: 1;
}

.hub-search-form select {
	max-width: 310px;
}

.hub-project-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hub-project-card {
	padding: 22px;
}

.hub-listing-thumbnail {
	display: block;
	margin: 0 0 18px;
	overflow: hidden;
}

.hub-listing-thumbnail img,
.hub-listing-featured-image {
	border: 1px solid var(--hub-border);
	border-radius: 12px;
	display: block;
	height: auto;
	max-height: 360px;
	object-fit: cover;
	width: 100%;
}

.hub-account-password {
	margin-top: 20px;
}

.hub-specialist-card {
	align-items: flex-start;
	display: flex;
	gap: 18px;
}

.hub-specialist-card .hub-avatar,
.hub-profile-header .hub-avatar,
.hub-form .hub-avatar,
.hub-avatar-placeholder {
	border: 1px solid var(--hub-border);
	border-radius: 50%;
	height: auto;
	max-width: 100%;
}

.hub-avatar-placeholder {
	align-items: center;
	background: #141d1b;
	color: var(--hub-accent);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 15px;
	font-weight: 800;
	height: 64px;
	justify-content: center;
	width: 64px;
}

.hub-profile-header .hub-avatar-placeholder,
.hub-form > .hub-avatar-placeholder {
	height: 112px;
	width: 112px;
}

.hub-specialist-card > div {
	min-width: 0;
	width: 100%;
}

.hub-profile-header {
	align-items: center;
	display: flex;
	gap: 24px;
	margin-bottom: 32px;
}

.hub-profile-header h1 {
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.1;
	overflow-wrap: anywhere;
}

.hub-profile-header h2 {
	font-size: clamp(18px, 3vw, 24px);
	margin: 8px 0;
}

.hub-public-profile > section {
	border-top: 1px solid var(--hub-border);
	margin-top: 26px;
	padding-top: 20px;
}

.hub-public-profile > section h2 {
	font-size: 20px;
	margin: 0 0 8px;
}

.hub-rating {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 8px 0;
}

.hub-stars {
	color: #ffd166;
	letter-spacing: .08em;
	white-space: nowrap;
}

.hub-job-filter {
	align-items: end;
	background: var(--hub-panel);
	border: 1px solid var(--hub-border);
	border-radius: 16px;
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
	margin-bottom: 24px;
	padding: 14px;
}

.hub-job-filter label,
.hub-job-salary label,
.hub-proposal-actions label {
	color: var(--hub-muted);
	display: block;
	font-size: 13px;
	font-weight: 650;
	min-width: 0;
}

.hub-job-filter input,
.hub-job-filter select,
.hub-job-salary input,
.hub-proposal-actions select {
	background: var(--hub-control-bg);
	border: 1px solid var(--hub-control-border);
	border-radius: 10px;
	color: var(--hub-text);
	display: block;
	font: inherit;
	margin-top: 6px;
	min-height: 46px;
	padding: 9px 12px;
	width: 100%;
}

.hub-job-meta {
	color: var(--hub-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	gap: 8px 16px;
	margin: 16px 0;
}

.hub-job-meta strong {
	color: var(--hub-accent);
}

.hub-job-detail-meta {
	margin: 24px auto;
	max-width: 1240px;
	padding: 22px;
}

.hub-job-detail-meta h2 {
	font-size: 22px;
	margin: 0 0 14px;
}

.hub-job-detail-meta dl {
	display: grid;
	gap: 12px 24px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	margin: 0;
}

.hub-job-detail-meta dl > div {
	min-width: 0;
}

.hub-job-detail-meta dt {
	color: var(--hub-muted);
	font-size: 12px;
}

.hub-job-detail-meta dd {
	font-weight: 650;
	margin: 2px 0 0;
	overflow-wrap: anywhere;
}

.hub-job-salary {
	border: 1px solid var(--hub-border);
	border-radius: 12px;
	margin: 18px 0;
	padding: 14px;
}

.hub-job-salary legend {
	color: var(--hub-text);
	font-weight: 700;
	padding: 0 8px;
}

.hub-job-salary .hub-muted {
	font-size: 13px;
	margin-bottom: 0;
}

.hub-card-meta,
.hub-card-footer {
	font-size: 12px;
	justify-content: space-between;
}

.hub-card-meta > span {
	color: var(--hub-accent);
}

.hub-project-card h2 {
	font-size: 20px;
	line-height: 1.35;
	margin: 14px 0 8px;
}

.hub-project-card > p {
	color: var(--hub-muted);
	margin: 0 0 18px;
}

.hub-card-footer {
	border-top: 1px solid var(--hub-border);
	padding-top: 14px;
}

.hub-empty-state {
	background: var(--hub-panel);
	border: 1px dashed var(--hub-border);
	border-radius: var(--hub-radius);
	grid-column: 1 / -1;
	padding: 42px;
	text-align: center;
}

.hub-pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 26px;
}

.hub-pagination .page-numbers {
	border: 1px solid var(--hub-border);
	border-radius: 8px;
	padding: 6px 12px;
}

.hub-pagination .current {
	border-color: var(--hub-accent);
	color: var(--hub-accent);
}

.hub-form-shell {
	max-width: 840px;
}

.hub-auth-shell {
	max-width: 560px;
}

.hub-form > h1 + .hub-muted {
	margin-top: 8px;
}

.hub-form [hidden] {
	display: none !important;
}

.hub-form label {
	color: var(--hub-text);
	display: block;
	font-size: 14px;
	font-weight: 650;
	margin: 18px 0;
}

.hub-form label > input,
.hub-form label > textarea,
.hub-form label > select {
	display: block;
	margin-top: 8px;
}

.hub-form textarea {
	min-height: 130px;
	resize: vertical;
}

.hub-form-row > label {
	flex: 1;
}

.hub-form .hub-check {
	align-items: flex-start;
	color: var(--hub-muted);
	display: flex;
	font-weight: 450;
	gap: 10px;
}

.hub-form .hub-check input {
	accent-color: var(--hub-accent);
	flex: 0 0 auto;
	margin-top: 6px;
}

.hub-form .hub-check a,
.hub-form-foot a {
	color: var(--hub-accent);
}

.hub-form-foot {
	color: var(--hub-muted);
	font-size: 13px;
	margin: 18px 0 0;
	text-align: center;
}

.hub-notice {
	background: #11161a;
	border: 1px solid #554d2d;
	border-radius: 12px;
	color: var(--hub-text);
	margin: 14px 0;
	padding: 14px 16px;
}

.hub-notice--success {
	border-color: #29634e;
}

.hub-notice--error {
	border-color: #703b3b;
}

.hub-form-note {
	border-left: 2px solid var(--hub-accent);
	color: var(--hub-muted);
	font-size: 13px;
	padding-left: 12px;
}

.hub-notice a {
	color: var(--hub-accent);
}

.hub-incoming-proposal {
	border-top: 1px solid var(--hub-border);
	padding: 18px 0;
}

.hub-incoming-proposal h3 {
	margin: 12px 0 6px;
}

.hub-incoming-proposal > p {
	color: var(--hub-muted);
	white-space: pre-line;
}

.hub-proposal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.hub-admin-action {
	display: inline-block;
	margin: 2px;
}

@media (max-width: 820px) {
	.hub-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hub-job-filter {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hub-section--split {
		grid-template-columns: 1fr;
	}

	.hub-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hub-dashboard-actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hub-dashboard-guidance {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	.hub-market {
		padding: 26px 16px;
	}

	.hub-panel-title {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.hub-panel-title h2 {
		flex-basis: 100%;
		min-width: 0;
	}

	.hub-hero {
		padding: 46px 0;
	}

	.hub-category-grid,
	.hub-project-grid {
		grid-template-columns: 1fr;
	}

	.hub-search-form,
	.hub-dashboard-head,
	.hub-form-row {
		align-items: stretch;
		flex-direction: column;
	}

	.hub-dashboard-guidance {
		gap: 22px;
	}

	.hub-job-filter {
		grid-template-columns: 1fr;
	}

	.hub-specialist-card,
	.hub-profile-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.hub-specialist-card .hub-avatar,
	.hub-specialist-card .hub-avatar-placeholder {
		width: 56px;
	}

	.hub-profile-header .hub-avatar,
	.hub-profile-header .hub-avatar-placeholder,
	.hub-form > .hub-avatar {
		width: 88px;
	}

	.hub-search-form select {
		max-width: none;
	}

	.hub-search-form .hub-button,
	.hub-dashboard-head > .hub-button {
		width: 100%;
	}

	.hub-proof {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.hub-proof span {
		border-left: 0;
		padding-left: 0;
	}

	.hub-member-list li {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.hub-dashboard-actions {
		grid-template-columns: 1fr;
	}

	.hub-dashboard-action {
		min-height: 76px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hub-market *,
	.hub-market *::before,
	.hub-market *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}

.hub-stats {
	grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
}

.hub-inbox {
	border-top: 1px solid var(--hub-border);
}

.hub-inbox-item {
	align-items: center;
	border-bottom: 1px solid var(--hub-border);
	display: flex;
	gap: 18px;
	justify-content: space-between;
	padding: 18px 4px;
}

.hub-inbox-item > span:first-child {
	min-width: 0;
}

.hub-inbox-item small,
.hub-inbox-preview {
	color: var(--hub-muted);
	display: block;
}

.hub-inbox-preview {
	margin-top: 5px;
	overflow-wrap: anywhere;
}

.hub-inbox-meta {
	color: var(--hub-muted);
	flex: 0 0 auto;
	font-size: 12px;
	text-align: right;
}

.hub-inbox-meta time,
.hub-inbox-meta b {
	display: block;
}

.hub-inbox-meta b {
	color: var(--hub-accent);
	margin-top: 5px;
}

.hub-quota,
.hub-form-note {
	background: var(--hub-panel-raised);
	border: 1px solid var(--hub-border);
	border-radius: 12px;
	color: var(--hub-muted);
	padding: 12px 16px;
}

.hub-message-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 20px 0;
}

.hub-message {
	background: var(--hub-panel-raised);
	border: 1px solid var(--hub-border);
	border-radius: 14px;
	max-width: min(760px, 90%);
	padding: 16px;
}

.hub-message--own {
	align-self: flex-end;
	border-color: #29634e;
}

.hub-message-meta {
	align-items: baseline;
	color: var(--hub-muted);
	display: flex;
	font-size: 12px;
	gap: 12px;
	justify-content: space-between;
}

.hub-message-meta strong {
	color: var(--hub-text);
}

.hub-message pre,
.hub-admin-messages pre {
	color: var(--hub-text);
	font: inherit;
	margin: 12px 0 0;
	overflow-wrap: anywhere;
	white-space: pre-wrap;
}

.hub-message-action {
	margin-top: 10px;
	text-align: right;
}

.hub-text-button {
	background: transparent;
	border: 0;
	color: var(--hub-muted);
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	padding: 4px 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hub-safety-actions {
	border-top: 1px solid var(--hub-border);
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 2fr) minmax(150px, 1fr);
	margin-top: 24px;
	padding-top: 20px;
}

.hub-safety-actions label {
	color: var(--hub-muted);
	display: block;
	font-size: 13px;
	margin: 0 0 12px;
}

.hub-safety-actions select,
.hub-safety-actions textarea {
	background: #080b0d;
	border: 1px solid var(--hub-border);
	border-radius: 8px;
	color: var(--hub-text);
	display: block;
	font: inherit;
	margin-top: 6px;
	padding: 9px;
	width: 100%;
}

@media (max-width: 600px) {
	.hub-inbox-item {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.hub-inbox-meta {
		align-items: center;
		display: flex;
		gap: 12px;
		text-align: left;
	}

	.hub-message {
		max-width: 100%;
		width: 100%;
	}

	.hub-safety-actions {
		grid-template-columns: 1fr;
	}
}

.hub-paid-tools {
	background: var(--hub-panel);
	border: 1px solid var(--hub-border);
	border-radius: 14px;
	display: grid;
	gap: 16px;
	margin: 20px 0;
	min-width: 0;
	padding: 18px;
}

.hub-paid-tools > legend,
.hub-service-package-edit > legend,
.hub-service-extra-editor > legend {
	color: var(--hub-text);
	font-size: 15px;
	font-weight: 700;
	padding: 0 7px;
}

.hub-service-package-editor,
.hub-service-package-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-service-package-edit,
.hub-service-package {
	background: var(--hub-panel);
	border: 1px solid var(--hub-border);
	border-radius: 12px;
	min-width: 0;
	padding: 14px;
}

.hub-service-package-edit {
	display: grid;
	gap: 12px;
}

.hub-service-package-edit label,
.hub-service-extra-editor label {
	min-width: 0;
	overflow-wrap: anywhere;
}

.hub-service-package-edit input,
.hub-service-package-edit textarea,
.hub-service-extra-editor input {
	box-sizing: border-box;
	max-width: 100%;
	width: 100%;
}

.hub-service-package-edit textarea,
.hub-service-extra-editor textarea {
	min-height: 78px;
}

.hub-service-extra-editor {
	border: 1px solid var(--hub-border);
	border-radius: 10px;
	min-width: 0;
	padding: 12px;
}

.hub-service-extra-editor .hub-form-row > div {
	flex: 1 1 180px;
	min-width: 0;
}

.hub-service-package h3 {
	margin: 0 0 8px;
	overflow-wrap: anywhere;
}

.hub-service-package-price {
	color: var(--hub-accent-strong);
	font-size: 21px;
	font-weight: 750;
	margin: 0 0 12px;
}

.hub-service-package dl,
.hub-service-package dl > div {
	display: grid;
	gap: 8px;
	margin: 12px 0;
}

.hub-service-package dl > div {
	border-top: 1px solid var(--hub-border);
	grid-template-columns: minmax(0, 1fr) auto;
	padding-top: 8px;
}

.hub-service-package dd {
	font-weight: 650;
	margin: 0;
}

.hub-service-faq details,
.hub-service-faq details p {
	margin: 10px 0;
}

.hub-service-faq summary {
	color: var(--hub-text);
	cursor: pointer;
	font-weight: 650;
	min-height: 44px;
	padding: 10px 0;
}

.hub-project-detail {
	background: var(--hub-panel);
	border: 1px solid var(--hub-border);
	border-radius: 12px;
	margin: 16px 0;
	min-width: 0;
	padding: 16px;
	overflow-wrap: anywhere;
}

.hub-project-detail h2 {
	font-size: 17px;
	margin: 0 0 8px;
}

.hub-project-detail p {
	margin: 0;
	white-space: pre-wrap;
}

.hub-feature-note {
	background: var(--hub-panel-raised);
	border: 1px solid var(--hub-border);
	border-radius: 10px;
	color: var(--hub-muted);
	margin: 16px 0;
	padding: 12px 16px;
}

.hub-featured-badge {
	background: var(--hub-accent);
	border-radius: 999px;
	color: var(--hub-on-accent) !important;
	display: inline-flex;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	padding: 4px 9px;
}

.hub-listing-lifecycle-form {
	align-items: center;
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin: 6px 0;
	max-width: 100%;
}

.hub-listing-lifecycle-form small {
	color: var(--hub-muted);
	font-size: 12px;
}

@media (max-width: 900px) {
	.hub-service-package-editor,
	.hub-service-package-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.hub-paid-tools {
		padding: 14px;
	}

	.hub-service-package-editor,
	.hub-service-package-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hub-listing-lifecycle-form {
		align-items: flex-start;
		display: grid;
	}

	.hub-listing-lifecycle-form .hub-button {
		width: 100%;
	}
}
