:root {
	color-scheme: light;
	font-family: Georgia, "Times New Roman", serif;
	color: #222;
	background: #fff;
	font-synthesis: none;
	line-height: 1.6;
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
}
button,
input,
textarea {
	font: inherit;
}
a {
	color: inherit;
	text-underline-offset: 0.18em;
}
a:hover {
	color: #555;
}
button {
	cursor: pointer;
	border: 1px solid #ccc;
	border-radius: 2px;
	background: white;
	color: inherit;
	padding: 0.35rem 0.7rem;
}
button:hover {
	background: #f5f5f5;
}
button:disabled {
	cursor: default;
	opacity: 0.45;
}
button.primary {
	background: #222;
	color: white;
	border-color: #222;
}
button[aria-current="true"] {
	border-color: #222;
}
:focus-visible {
	outline: 2px solid #777;
	outline-offset: 3px;
}
.page {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 24px;
}
.site-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 24px;
	border-bottom: 1px solid #ddd;
	padding: 32px 0 20px;
}
.brand {
	font-size: 1.6rem;
	text-decoration: none;
	letter-spacing: -0.05em;
}
nav {
	display: flex;
	gap: 20px;
	font-size: 0.9rem;
}
nav a {
	text-decoration: none;
}
nav a[aria-current="page"] {
	text-decoration: underline;
}
main {
	padding: 32px 0 64px;
	min-height: 65vh;
}
footer {
	border-top: 1px solid #ddd;
	padding: 20px 0 32px;
	color: #777;
	font-size: 0.8rem;
}
h1,
h2 {
	line-height: 1.25;
	font-weight: normal;
	overflow-wrap: anywhere;
}
h1 {
	font-size: 2rem;
	margin: 0 0 24px;
}
h2 {
	font-size: 1.5rem;
}
.articles {
	list-style: none;
	padding: 0;
	margin: 0;
}
.articles li {
	padding: 8px 0 28px;
	border-bottom: 1px solid #eee;
	margin-bottom: 24px;
}
.articles h2 {
	margin: 0 0 8px;
}
.articles h2 a {
	text-decoration: none;
}
.articles p {
	margin: 0 0 12px;
}
time,
.meta,
.empty {
	color: #666;
	font-size: 0.875rem;
}
.back {
	font-size: 0.875rem;
	display: inline-block;
	margin-bottom: 32px;
}
.article-heading {
	border-bottom: 1px solid #eee;
	margin-bottom: 32px;
	padding-bottom: 16px;
}
.prose {
	font-size: 1.1rem;
	line-height: 1.8;
	overflow-wrap: anywhere;
	white-space: pre-wrap;
}
.prose p {
	margin: 0 0 1.2em;
}
.prose h2 {
	margin: 1.5em 0 0.6em;
}
.prose blockquote {
	border-left: 2px solid #999;
	padding-left: 20px;
	margin-left: 0;
	color: #555;
}
.prose ul,
.prose ol {
	white-space: normal;
	padding-left: 24px;
}
.prose li {
	white-space: pre-wrap;
}
label {
	display: block;
	font-size: 0.875rem;
	margin: 16px 0;
}
input,
textarea {
	display: block;
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	background: white;
	color: #222;
	border-radius: 2px;
}
textarea {
	resize: vertical;
}
.signin {
	max-width: 360px;
}
fieldset {
	padding: 0;
	margin: 0;
	border: 0;
	min-width: 0;
}
.desk-heading,
.actions,
.save-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.desk-heading h1 {
	margin: 0 auto 0 0;
}
.desk-heading {
	margin-bottom: 24px;
}
.drafts {
	list-style: none;
	padding: 0 0 16px;
	margin: 0 0 24px;
	border-bottom: 1px solid #ddd;
}
.drafts li {
	margin-bottom: 8px;
}
.drafts button {
	width: 100%;
	text-align: left;
}
.drafts .meta {
	float: right;
	margin-left: 12px;
}
.actions {
	justify-content: flex-start;
	font-size: 0.875rem;
}
.actions .meta {
	margin-right: auto;
}
.toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	border: 1px solid #ccc;
	padding: 8px;
	border-bottom: 0;
}
.toolbar button {
	font-size: 0.8rem;
	padding: 4px 7px;
}
.editor {
	border: 1px solid #ccc;
	min-height: 320px;
	padding: 20px;
}
.editor:focus {
	outline-offset: -2px;
}
.save-row {
	margin-top: 24px;
}
.preview {
	padding: 32px 0;
}
.error {
	color: #9e2020;
	font-size: 0.9rem;
}
.link-form {
	padding: 8px 16px 16px;
	border: 1px solid #ccc;
}
.link-form button {
	margin-right: 8px;
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
}
@media (max-width: 480px) {
	.page {
		padding: 0 16px;
	}
	.site-header {
		padding-top: 20px;
	}
	nav {
		gap: 12px;
	}
	.editor {
		padding: 12px;
	}
	h1 {
		font-size: 1.7rem;
	}
}
