.monthly-workspace {
	margin: clamp(1rem, 3vw, 3rem);
	font: 1rem/1.5 system-ui, sans-serif;
	background: var(--wa-color-surface-lowered);
}
.monthly-workspace > header {
	max-width: 1100px;
	margin: 0 auto 1rem;
}
.monthly-feed-page,
.monthly-feed-page *,
.monthly-feed-page *::before,
.monthly-feed-page *::after {
	box-sizing: border-box;
}
.monthly-notes {
	--monthly-border: #e3e3e3;
	--monthly-radius: 0.375rem;
	width: calc(100% - 2.5rem);
	max-width: 75rem;
	margin: clamp(1.7rem, 3vw, 3rem) auto;
	color: #292d31;
}
.monthly-notes site-notes-feed {
	display: block;
	min-width: 0;
	container-type: inline-size;
	font: inherit;
}
.monthly-notes [data-note-status] {
	margin-bottom: 1.5rem;
}
.monthly-notes [hidden] {
	display: none;
}
.monthly-notes .monthly-post {
	font-size: 0.9375rem;
	line-height: 1.7;
	scroll-margin-top: 6rem;
}
.monthly-notes .monthly-post:focus {
	outline: none;
}
.monthly-notes a:focus-visible {
	outline: 2px solid #0066cc;
	outline-offset: 4px;
}
.monthly-notes .monthly-feed-month-title {
	color: #62676d;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: normal;
}
.monthly-notes .monthly-post-text {
	margin: 0 0 1rem;
}
.monthly-notes .monthly-post-text:empty,
.monthly-notes .monthly-post-tags:empty {
	display: none;
}
.monthly-notes .monthly-post-date {
	color: #62676d;
	font-size: 0.75rem;
	text-align: left;
}
.monthly-notes .monthly-post-tags {
	margin: 0.5rem 0 0;
	color: #62676d;
	font-size: 0.75rem;
}
.monthly-notes img.monthly-preview,
.monthly-notes video.monthly-preview {
	height: auto;
	max-height: 24rem;
}
.monthly-notes video {
	margin-bottom: 0;
}
.memo-expandable-image {
	cursor: zoom-in;
}
.memo-asset-expand {
	display: inline-flex;
	align-items: center;
	justify-self: end;
	gap: 0.375rem;
	margin-top: -0.5rem;
	padding: 0.375rem 0.625rem;
	border: 1px solid #e3e3e3;
	border-radius: 0.375rem;
	background: #fff;
	color: #62676d;
	font: inherit;
	font-size: 0.75rem;
	cursor: pointer;
}
.memo-asset-expand:hover {
	background: #edf4fa;
	color: #292d31;
}
.memo-asset-expand:focus-visible,
.memo-viewer :is(a, button):focus-visible {
	outline: 2px solid #8bb2d3;
	outline-offset: 4px;
}
html.memo-viewer-open,
.memo-viewer-open body {
	overflow: hidden;
}
.memo-viewer {
	width: calc(100% - 2rem);
	max-width: 96rem;
	max-height: calc(100dvh - 2rem);
	margin: auto;
	padding: 1rem;
	border: 1px solid #34383c;
	border-radius: 0.5rem;
	background: #14171a;
	color: #f5f5f5;
	font: inherit;
}
.memo-viewer::backdrop {
	background: rgb(0 0 0 / 80%);
}
.memo-viewer-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}
.memo-viewer-heading h2 {
	min-width: 0;
	margin: 0;
	font-size: 0.875rem;
	font-weight: 500;
	overflow-wrap: anywhere;
}
.memo-viewer-actions {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 1rem;
	font-size: 0.8125rem;
}
.memo-viewer-actions a,
.memo-viewer-actions a:hover {
	color: #b4cfe5;
}
.memo-viewer-actions form {
	margin: 0;
}
.memo-viewer-actions button {
	min-height: 2.75rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid #62676d;
	border-radius: 0.375rem;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}
.memo-viewer-content {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 8rem;
}
.memo-viewer-content :is(img, video) {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100dvh - 10rem);
	margin: 0;
	object-fit: contain;
}
.memo-viewer-content video {
	width: 100%;
	background: #000;
}
.memo-viewer-content audio {
	width: min(100%, 42rem);
}
.memo-viewer [data-viewer-error] {
	margin: 1rem 0 0;
	font-size: 0.875rem;
}
.memo-viewer [hidden] {
	display: none;
}
@media (max-width: 639px) {
	.memo-viewer-heading {
		align-items: flex-start;
		flex-direction: column;
	}
	.memo-viewer-actions {
		width: 100%;
		justify-content: space-between;
	}
	.memo-asset-expand {
		min-height: 2.75rem;
	}
}
