:root {
	--journey-core-bg: #f4efe8;
	--journey-core-surface: #ffffff;
	--journey-core-surface-soft: #f8f5f0;
	--journey-core-border: rgba(54, 44, 34, 0.14);
	--journey-core-border-strong: rgba(54, 44, 34, 0.22);
	--journey-core-text: #1f1a17;
	--journey-core-muted: #6b5d51;
	--journey-core-accent: #7a4a1c;
	--journey-core-accent-strong: #5b3414;
	--journey-core-success: #1d6f42;
	--journey-core-warm: #f1ddd0;
	--journey-core-shadow: 0 22px 45px rgba(42, 28, 17, 0.08);
	--journey-core-radius-xl: 28px;
	--journey-core-radius-lg: 20px;
	--journey-core-radius-md: 16px;
	--journey-core-radius-sm: 12px;
	--journey-core-gap: 1.25rem;
}

.journey-core-dashboard,
.journey-core-map,
.journey-core-stage-detail,
.journey-core-celebration,
.journey-core-journal,
.journey-core-prayer-journey,
.journey-core-stats,
.journey-core-journey-paths,
.journey-core-timeline,
.journey-core-todays-walk,
.journey-core-reflections {
	color: var(--journey-core-text);
}

.journey-core-dashboard {
	display: grid;
	gap: 1.5rem;
}

.journey-core-dashboard__header {
	display: grid;
	gap: 0.35rem;
	max-width: 68rem;
}

.journey-core-dashboard__header h2,
.journey-core-map__header h2,
.journey-core-stage-detail__header h2,
.journey-core-celebration__header h2,
.journey-core-journey-paths > header h2,
.journey-core-journal > header h2,
.journey-core-prayer-journey > header h2,
.journey-core-stats > header h2,
.journey-core-timeline > header h2 {
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.08;
}

.journey-core-dashboard__link,
.journey-core-empty-state,
.journey-core-login-message,
.journey-core-path-card__current,
.journey-core-stage-detail__meta,
.journey-core-map__subtitle,
.journey-core-hero-card__copy,
.journey-core-path-card__status,
.journey-core-stage__status,
.journey-core-stage-detail__locked,
.journey-core-stage__locked,
.journey-core-map__next-step p,
.journey-core-timeline__status,
.journey-core-entry__meta,
.journey-core-prayer-badge,
.journey-core-map__summary strong,
.journey-core-journey-flow strong,
.journey-core-hero-card__actions,
.journey-core-card h3 {
	color: var(--journey-core-muted);
}

.journey-core-dashboard__hero,
.journey-core-card,
.journey-core-map,
.journey-core-stage-detail,
.journey-core-celebration,
.journey-core-journey-paths,
.journey-core-journal,
.journey-core-prayer-journey,
.journey-core-stats,
.journey-core-timeline,
.journey-core-todays-walk,
.journey-core-reflections {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 240, 0.94));
	border: 1px solid var(--journey-core-border);
	border-radius: var(--journey-core-radius-xl);
	box-shadow: var(--journey-core-shadow);
	padding: 1.5rem;
}

.journey-core-dashboard__hero {
	padding: 0;
	overflow: hidden;
}

.journey-core-hero-card {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(16rem, 0.8fr);
	gap: 1rem;
	padding: clamp(1.25rem, 2vw, 2rem);
	background:
		radial-gradient(circle at top right, rgba(122, 74, 28, 0.14), transparent 32%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 232, 218, 0.9));
}

.journey-core-hero-card__content,
.journey-core-hero-card__actions {
	display: grid;
	gap: 0.9rem;
	align-content: start;
}

.journey-core-eyebrow {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--journey-core-accent);
}

.journey-core-hero-card h2 {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.8rem);
	line-height: 1.05;
}

.journey-core-journey-flow {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.journey-core-journey-flow div,
.journey-core-map__summary div {
	display: grid;
	gap: 0.25rem;
	padding: 0.9rem 1rem;
	border-radius: var(--journey-core-radius-md);
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(122, 74, 28, 0.12);
}

.journey-core-journey-flow span,
.journey-core-map__summary span {
	font-weight: 600;
	color: var(--journey-core-text);
}

.journey-core-hero-card__progress,
.journey-core-map__progress,
.journey-core-card progress,
.journey-core-map progress,
.journey-core-stage-detail progress,
.journey-core-path-card progress {
	display: grid;
	gap: 0.4rem;
}

.journey-core-dashboard__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1rem;
	align-items: start;
}

.journey-core-card {
	grid-column: span 6;
}

.journey-core-card--journey_map,
.journey-core-card--prayer,
.journey-core-card--journal,
.journey-core-card--current_journey {
	grid-column: span 12;
}

.journey-core-card h3,
.journey-core-map__next-step h3,
.journey-core-stage-card h3,
.journey-core-path-card h3,
.journey-core-entry h3,
.journey-core-stat strong {
	margin-top: 0;
	margin-bottom: 0.5rem;
	color: var(--journey-core-text);
}

.journey-core-map__header {
	display: grid;
	gap: 1rem;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--journey-core-border);
}

.journey-core-map__banner {
	width: 100%;
	max-height: 16rem;
	object-fit: cover;
	border-radius: var(--journey-core-radius-lg);
}

.journey-core-map__heading {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
}

.journey-core-map__icon {
	color: var(--journey-core-accent);
	font-size: 1.4rem;
	width: 1.4rem;
	height: 1.4rem;
}

.journey-core-map__subtitle {
	margin: 0.2rem 0 0;
	font-size: 1rem;
}

.journey-core-map__summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
}

.journey-core-map__next-step,
.journey-core-stage-card,
.journey-core-path-card,
.journey-core-entry,
.journey-core-stat,
.journey-core-timeline__item,
.journey-core-todays-walk,
.journey-core-reflections article {
	background: var(--journey-core-surface);
	border: 1px solid var(--journey-core-border);
	border-radius: var(--journey-core-radius-lg);
	box-shadow: 0 8px 20px rgba(44, 27, 17, 0.05);
}

.journey-core-map__next-step {
	display: grid;
	gap: 0.75rem;
	padding: 1rem 1.1rem;
	margin: 0 0 1rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 221, 208, 0.6));
}

.journey-core-stage-grid,
.journey-core-path-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.journey-core-stage-card,
.journey-core-path-card {
	padding: 1rem;
	border-left: 4px solid var(--journey-core-accent, var(--journey-core-accent));
}

.journey-core-stage-card__header,
.journey-core-path-card__header {
	display: grid;
	gap: 0.45rem;
}

.journey-core-stage-card__actions,
.journey-core-path-card__actions,
.journey-core-celebration__actions,
.journey-core-stage-detail__actions,
.journey-core-hero-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.journey-core-stage-detail {
	display: grid;
	gap: 1rem;
	max-width: 58rem;
}

.journey-core-stage-detail__header {
	display: grid;
	gap: 0.35rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--journey-core-border);
}

.journey-core-stage-detail__actions form,
.journey-core-path-card__actions form,
.journey-core-celebration__actions form {
	margin: 0;
}

.journey-core-celebration {
	display: grid;
	gap: 1rem;
}

.journey-core-celebration__header {
	display: grid;
	gap: 0.35rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--journey-core-border);
}

.journey-core-journey-paths > header,
.journey-core-journal > header,
.journey-core-prayer-journey > header,
.journey-core-stats > header,
.journey-core-timeline > header {
	margin-bottom: 1rem;
}

.journey-core-journal__filters,
.journey-core-prayer-journey__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: end;
	margin: 1rem 0;
	padding: 1rem;
	border-radius: var(--journey-core-radius-lg);
	border: 1px solid var(--journey-core-border);
	background: rgba(248, 245, 240, 0.9);
}

.journey-core-journal__filters label,
.journey-core-prayer-journey__filters label {
	display: grid;
}

.journey-core-journal__list,
.journey-core-prayer-journey__list,
.journey-core-dashboard-list,
.journey-core-dashboard-prayers,
.journey-core-stats__grid {
	display: grid;
	gap: 0.85rem;
}

.journey-core-entry,
.journey-core-stat,
.journey-core-timeline__item {
	padding: 1rem;
}

.journey-core-entry__meta,
.journey-core-path-card__status,
.journey-core-stage__status,
.journey-core-timeline__status {
	font-size: 0.92rem;
	margin: 0;
}

.journey-core-prayer-journey__status-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.75rem 0 0;
}

.journey-core-prayer-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.18rem 0.55rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	background: rgba(122, 74, 28, 0.12);
}

.journey-core-prayer-badge--answered {
	background: rgba(29, 111, 66, 0.14);
	color: var(--journey-core-success);
}

.journey-core-prayer-badge--archived {
	background: rgba(107, 93, 81, 0.14);
	color: var(--journey-core-muted);
}

.journey-core-timeline__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.85rem;
}

.journey-core-timeline__item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.9rem;
	align-items: start;
}

.journey-core-timeline__marker {
	width: 1rem;
	height: 1rem;
	border-radius: 999px;
	background: var(--journey-core-accent);
	box-shadow: 0 0 0 0.35rem rgba(122, 74, 28, 0.14);
	margin-top: 0.2rem;
}

.journey-core-timeline__item--completed .journey-core-timeline__marker {
	background: var(--journey-core-success);
	box-shadow: 0 0 0 0.35rem rgba(29, 111, 66, 0.14);
}

.journey-core-timeline__item--locked .journey-core-timeline__marker {
	background: var(--journey-core-border-strong);
	box-shadow: 0 0 0 0.35rem rgba(107, 93, 81, 0.12);
}

.journey-core-form p,
.journey-core-form .form-field {
	margin-bottom: 1rem;
}

.journey-core-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.journey-core-form input[type="text"],
.journey-core-form input[type="url"],
.journey-core-form input[type="number"],
.journey-core-form input[type="search"],
.journey-core-form input[type="date"],
.journey-core-form textarea,
.journey-core-form select,
.journey-core-journal__filters input,
.journey-core-journal__filters select,
.journey-core-prayer-journey__filters input,
.journey-core-prayer-journey__filters select {
	width: 100%;
	max-width: 36rem;
	border-radius: 12px;
	border: 1px solid var(--journey-core-border-strong);
	background: var(--journey-core-surface);
	color: var(--journey-core-text);
	padding: 0.65rem 0.8rem;
	box-shadow: none;
}

.journey-core-form textarea,
.journey-core-journal__filters textarea,
.journey-core-prayer-journey__filters textarea {
	min-height: 8rem;
}

.journey-core-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin-top: 1rem;
}

.journey-core-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.2rem;
	padding: 0.55rem 0.75rem;
	border-radius: 999px;
	border: 1px solid var(--journey-core-border);
	background: var(--journey-core-surface);
	text-decoration: none;
}

.journey-core-pagination .page-numbers.current {
	border-color: var(--journey-core-accent);
	background: var(--journey-core-accent);
	color: #fff;
}

.journey-core-empty-state,
.journey-core-login-message {
	padding: 0.95rem 1rem;
	border-radius: var(--journey-core-radius-md);
	border: 1px dashed var(--journey-core-border-strong);
	background: rgba(255, 255, 255, 0.72);
}

progress {
	width: 100%;
	height: 0.85rem;
	border: 0;
	border-radius: 999px;
	overflow: hidden;
	background: rgba(122, 74, 28, 0.15);
}

progress::-webkit-progress-bar {
	background: rgba(122, 74, 28, 0.15);
}

progress::-webkit-progress-value {
	background: linear-gradient(90deg, var(--journey-core-accent), var(--journey-core-accent-strong));
}

progress::-moz-progress-bar {
	background: linear-gradient(90deg, var(--journey-core-accent), var(--journey-core-accent-strong));
}

@media (max-width: 960px) {
	.journey-core-hero-card,
	.journey-core-map__summary {
		grid-template-columns: 1fr;
	}

	.journey-core-card {
		grid-column: span 12;
	}
}

@media (max-width: 720px) {
	.journey-core-dashboard__hero,
	.journey-core-dashboard__grid,
	.journey-core-hero-card,
	.journey-core-map__summary,
	.journey-core-journey-flow {
		grid-template-columns: 1fr;
	}

	.journey-core-dashboard__grid {
		gap: 0.85rem;
	}

	.journey-core-hero-card {
		padding: 1.1rem;
	}

	.journey-core-map,
	.journey-core-stage-detail,
	.journey-core-celebration,
	.journey-core-journey-paths,
	.journey-core-journal,
	.journey-core-prayer-journey,
	.journey-core-stats,
	.journey-core-timeline,
	.journey-core-todays-walk,
	.journey-core-reflections {
		padding: 1rem;
		border-radius: 20px;
	}
}
