body.notes-page {
	--notes-bg: #fff;
	--notes-surface: #fff;
	--notes-text: #333;
	--notes-body: #3e3e3e;
	--notes-muted: #777;
	--notes-soft: #999;
	--notes-secondary: #6f6f6f;
	--notes-line: #e9e9e9;
	--notes-line-soft: #f2f2f2;
	--notes-pin: #bdbdbd;
	--notes-link: #333;
	--notes-reading-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: var(--notes-bg);
	color: var(--notes-text);
}

.notes-journal {
	max-width: 1040px;
	margin: 0 auto;
	padding: 48px 24px 110px;
	font: 400 16px/1.65 "Helvetica Neue", helvetica, Arial, sans-serif;
	color: var(--notes-text);
}

.notes-hero {
	margin: 0 0 56px;
}

.notes-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin: 0 0 34px;
	font: 700 13px/1.2 "Helvetica Neue", helvetica, Arial, sans-serif;
	color: var(--notes-soft);
}

.notes-breadcrumb a {
	color: var(--notes-text);
	text-decoration: none;
}

.notes-breadcrumb a:hover {
	color: var(--notes-muted);
}

.notes-hero h1 {
	margin: 0 0 20px;
	font: 700 56px/1 "Helvetica Neue", helvetica, Arial, sans-serif;
	letter-spacing: 0;
	color: var(--notes-text);
}

.notes-description {
	max-width: 620px;
	margin: 0;
	font: 400 19px/1.55 "Helvetica Neue", helvetica, Arial, sans-serif;
	color: var(--notes-muted);
}

.notes-timeline {
	margin: 0;
}

.notes-month {
	margin: 0 0 54px;
}

.notes-month:last-child {
	margin-bottom: 0;
}

.notes-month-heading {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0 0 20px;
	font: 500 22px/1.2 "Helvetica Neue", helvetica, Arial, sans-serif;
	letter-spacing: 0;
	color: var(--notes-text);
}

.notes-month-heading::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--notes-line);
}

.notes-list {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

.notes-list::before {
	content: "";
	position: absolute;
	left: 231px;
	top: 28px;
	bottom: 28px;
	width: 1px;
	background: var(--notes-line);
}

.note-row {
	display: grid;
	grid-template-columns: 190px 34px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	margin: 0;
	padding: 22px 0;
}

.note-row + .note-row {
	border-top: 1px solid var(--notes-line-soft);
}

.note-meta {
	display: grid;
	grid-template-columns: 82px 84px;
	gap: 24px;
	align-items: baseline;
	min-width: 0;
	padding-top: 1px;
}

.note-day {
	color: var(--notes-text);
	font: 500 15px/1.35 "Helvetica Neue", helvetica, Arial, sans-serif;
	white-space: nowrap;
}

.note-time {
	color: var(--notes-muted);
	font: 700 13px/1.35 "Helvetica Neue", helvetica, Arial, sans-serif;
	white-space: nowrap;
}

.note-pin {
	position: relative;
	display: block;
	min-height: 24px;
}

.note-pin::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--notes-pin);
	border: 2px solid var(--notes-surface);
	transform: translateX(-50%);
}

.note-content {
	min-width: 0;
	max-width: 640px;
	font: 400 17px/1.72 var(--notes-reading-font);
	color: var(--notes-body);
	letter-spacing: 0;
}

.note-content p {
	margin: 0;
	font: inherit;
	color: inherit;
}

.note-content p + p {
	margin-top: 8px;
}

.note-content p.note-location {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 10px;
	color: var(--notes-muted);
	font: 300 12px/1.4 "Helvetica Neue", helvetica, Arial, sans-serif;
}

.note-location svg {
	width: 12px;
	height: 12px;
	flex: 0 0 auto;
	stroke: currentColor;
	stroke-width: 2.1;
	fill: none;
	transform: translateY(0.5px);
	opacity: 0.68;
}

.note-location span {
	font: inherit;
	color: inherit;
}

.note-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.note-tags li {
	list-style: none;
	margin: 0;
	color: var(--notes-secondary);
	font: 700 13px/1.2 var(--notes-reading-font);
}

.note-row.is-marker .note-content {
	min-height: 24px;
}

.notes-empty {
	margin: 0 0 80px;
	font: 300 20px/1.5 "Helvetica Neue", helvetica, Arial, sans-serif;
	color: var(--notes-muted);
}

.notes-pagination {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 66px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--notes-line);
	font: 700 13px/1.3 "Helvetica Neue", helvetica, Arial, sans-serif;
}

.notes-page-link {
	color: var(--notes-link);
	text-decoration: none;
}

.notes-page-link:hover {
	color: var(--notes-muted);
}

.notes-page-link.is-older {
	justify-self: end;
}

@media (prefers-color-scheme: dark) {
	body.notes-page {
		--notes-bg: #111;
		--notes-surface: #111;
		--notes-text: #ededed;
		--notes-body: #e2e2e2;
		--notes-muted: #b7b7b7;
		--notes-soft: #8f8f8f;
		--notes-secondary: #adadad;
		--notes-line: #303030;
		--notes-line-soft: #252525;
		--notes-pin: #777;
		--notes-link: #ededed;
	}
}

@media (max-width: 760px) {
	.notes-journal {
		padding: 38px 18px 88px;
	}

	.notes-hero {
		margin-bottom: 42px;
	}

	.notes-breadcrumb {
		margin-bottom: 28px;
	}

	.notes-hero h1 {
		font-size: 44px;
	}

	.notes-description {
		font-size: 17px;
	}

	.notes-month {
		margin-bottom: 44px;
	}

	.notes-month-heading {
		font-size: 20px;
		gap: 16px;
	}

	.notes-list::before {
		left: 104px;
		top: 26px;
		bottom: 26px;
	}

	.note-row {
		grid-template-columns: 78px 24px minmax(0, 1fr);
		gap: 14px;
		padding: 19px 0;
	}

	.note-meta {
		display: block;
		padding-top: 0;
	}

	.note-day,
	.note-time {
		display: block;
	}

	.note-time {
		margin-top: 7px;
		font-size: 12px;
	}

	.note-pin::after {
		top: 4px;
	}

	.notes-pagination {
		margin-top: 48px;
	}
}

@media (max-width: 460px) {
	.notes-journal {
		padding-right: 16px;
		padding-left: 16px;
	}

	.notes-hero h1 {
		font-size: 40px;
	}

	.notes-list::before {
		left: 91px;
	}

	.note-row {
		grid-template-columns: 67px 20px minmax(0, 1fr);
		gap: 12px;
	}

	.note-day {
		font-size: 13px;
	}

	.note-content,
	.note-content p {
		font-size: 16px;
	}
}
