:root {
	--gj-ink: #17211d;
	--gj-green: #315c49;
	--gj-green-dark: #204333;
	--gj-pale: #e8efe9;
	--gj-paper: #fbfaf6;
	--gj-line: #cad6cf;
	--gj-gold: #c7963f;
}

.gj-journal,
.gj-quest-grid,
.gj-entry-form,
.gj-admin-wrap {
	box-sizing: border-box;
	color: var(--gj-ink);
}

.gj-month-header,
.gj-admin-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px;
	background: var(--gj-green);
	color: #fff;
	border-radius: 16px;
}

.gj-month-header h2,
.gj-admin-hero h1 {
	margin: 3px 0 0;
	color: #fff;
	font-size: clamp(2rem, 6vw, 3.5rem);
	line-height: 1;
}

.gj-kicker {
	display: block;
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.gj-month-nav {
	display: flex;
	align-items: center;
	gap: 10px;
}

.gj-month-nav a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 50%;
	color: #fff;
	text-decoration: none;
}

.gj-month-nav span,
.gj-quest-heading span {
	font-weight: 800;
}

.gj-quest-group { margin: 34px 0; }
.gj-quest-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--gj-green); }
.gj-quest-heading h3 { margin: 0 0 8px; font-size: 1.6rem; }
.gj-entry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 18px; }

.gj-entry-card,
.gj-quest-card,
.gj-entry-form,
.gj-empty,
.gj-admin-panel,
.gj-stat {
	background: var(--gj-paper);
	border: 1px solid var(--gj-line);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(23,33,29,.06);
}

.gj-entry-card { padding: 22px; }
.gj-entry-card h4 { margin: 8px 0 14px; font-size: 1.35rem; }
.gj-entry-meta { display: flex; justify-content: space-between; color: var(--gj-green); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gj-objective, .gj-next { font-size: .92rem; }
.gj-callout { display: grid; gap: 4px; margin: 18px 0; padding: 13px 15px; background: var(--gj-pale); border-left: 4px solid var(--gj-gold); border-radius: 6px; }

.gj-quest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.gj-quest-card { padding: 24px; }
.gj-quest-card h3 { margin: 12px 0 8px; }
.gj-quest-card h3 a { color: var(--gj-ink); }
.gj-status { display: inline-block; padding: 5px 9px; border-radius: 999px; background: var(--gj-pale); color: var(--gj-green); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gj-status-completed { background: #fff1d4; color: #735015; }
.gj-status-paused { background: #eeeef1; color: #595963; }
.gj-status-abandoned { background: #f4e7e7; color: #794141; }

.gj-entry-form { display: grid; gap: 18px; max-width: 840px; padding: 28px; }
.gj-entry-form h2 { margin: 3px 0 0; }
.gj-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gj-entry-form label { display: grid; gap: 7px; font-weight: 700; }
.gj-entry-form input,
.gj-entry-form select,
.gj-entry-form textarea { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid var(--gj-line); border-radius: 7px; background: #fff; color: var(--gj-ink); font: inherit; }
.gj-entry-form button { justify-self: start; padding: 12px 20px; border: 0; border-radius: 7px; background: var(--gj-green); color: #fff; font-weight: 800; cursor: pointer; }
.gj-entry-form button:hover { background: var(--gj-green-dark); }
.gj-empty, .gj-notice { padding: 22px; margin: 18px 0; }
.gj-notice { border-left: 4px solid var(--gj-green); background: var(--gj-pale); }

.gj-admin-wrap { max-width: 1180px; margin-top: 28px; }
.gj-admin-hero p { max-width: 650px; font-size: 1.05rem; }
.gj-admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.gj-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 20px 0; }
.gj-stat { display: grid; gap: 6px; padding: 22px; }
.gj-stat strong { color: var(--gj-green); font-size: 2rem; }
.gj-stat span { font-weight: 700; }
.gj-admin-panel { padding: 24px; margin: 20px 0; }
.gj-admin-panel h2 { margin-top: 0; }

@media (max-width: 700px) {
	.gj-month-header, .gj-admin-hero { align-items: flex-start; flex-direction: column; }
	.gj-form-grid, .gj-stat-grid { grid-template-columns: 1fr; }
}

