/* coco2026 — base styles */

:root {
	--color-ink: #000000;
	--color-ink-soft: #000000;
	--color-muted: #222222;
	--color-paper: #f7f4fb;
	--color-paper-deep: #efe8f8;
	--color-accent: #dac7f8;
	--color-accent-deep: #b79ae8;
	--color-accent-soft: #ebe1fb;
	/* Post-type labels (from live coco theme) */
	--label-notes: #e9cff8;
	--label-hint: #dac7f8;
	--label-misc: #cec7f8;
	--label-view: #bdc9f8;
	--label-ink: #000000;
	--label-h: 1.7em;
	--label-pad-x: 0.55em;
	--label-pad-y: 0; /* height + flex center handles vertical rhythm */
	--label-nudge: 0.08em; /* JP gothic optical center (text sits low) */
	--color-sage: #000000;
	--color-sage-deep: #000000;
	--color-sage-soft: #222222;
	--color-mist: #e8dff6;
	--color-white: #ffffff;
	--color-on-dark: #ffffff;
	--color-on-dark-muted: #ffffff;
	--color-danger: #8a3b3b;
	--color-warn: #8a6a2b;
	--font-display: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
	--font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
	/* Type scale */
	--fs-body: 1.05rem;
	--fs-heading: 1.2rem;
	--fs-title: 0.95rem;
	--fs-lead: 0.92rem;
	--fs-ui: 0.88rem;
	--fs-meta: 0.78rem;
	--fs-label: 0.72rem;
	--fs-tiny: 0.68rem;
	--space-1: 0.5rem;
	--space-2: 1rem;
	--space-3: 1.5rem;
	--space-4: 2.5rem;
	--space-5: 4rem;
	--space-6: 6rem;
	--radius: 0;
	--shadow-soft: 0 18px 40px rgba(79, 66, 104, 0.1);
	--header-h: 3.5rem;
	--content-w: 72rem;
	--narrow-w: 44rem;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
	border-radius: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: 1.8;
	color: var(--color-ink);
	background: #fff;
	min-height: 100vh;
}

body.front-page {
	background: #fff;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: #000;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color 0.25s var(--ease);
}

a:hover {
	color: var(--color-sage);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.02em;
}

strong,
b,
.entry-content strong,
.entry-content b {
	font-weight: 500;
}

p {
	margin: 0 0 1em;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--color-ink);
	color: var(--color-white);
	padding: 0.75rem 1rem;
	z-index: 1000;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

/* Header — slim tinted bar */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	height: var(--header-h);
	background: #f3eef8;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 8px 24px rgba(14, 16, 20, 0.04);
	color: #111;
}

.site-header a {
	color: #111;
}

.site-header.site-header--light {
	position: sticky;
	top: 0;
	background: #f3eef8;
	color: #111;
}

.site-header.site-header--light a {
	color: #111;
}

.site-header__inner {
	position: relative;
	width: 100%;
	max-width: var(--content-w);
	margin: 0 auto;
	padding: 0 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: 100%;
	box-sizing: border-box;
	background: #f3eef8;
}

@media (min-width: 1280px) {
	.site-header__inner {
		padding-left: 0;
		padding-right: 0;
	}
}

h1.site-brand,
.site-brand {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	line-height: 1;
	font-family: var(--font-body);
	font-size: clamp(0.78rem, 1.6vw, 0.92rem);
	font-weight: 400;
	letter-spacing: 0.04em;
}

.site-brand__link {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0;
	color: inherit;
	line-height: 1;
	font-size: inherit;
	font-weight: 400;
}

.site-brand__link span {
	padding-left: 0.45em;
	font-family: inherit;
	font-size: 0.92em;
	font-weight: 400;
	letter-spacing: inherit;
	opacity: 0.65;
	line-height: 1;
}

.site-brand__logo {
	display: block;
	width: auto;
	height: 2rem;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #111;
	font: inherit;
	cursor: pointer;
	flex-shrink: 0;
	box-sizing: border-box;
	transition: background 0.2s var(--ease);
}

.nav-toggle:hover {
	background: rgba(0, 0, 0, 0.05);
}

.nav-toggle__icon {
	display: block;
	width: 1.15rem;
	height: 1.15rem;
	background:
		linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
		linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
		linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
	background-position:
		center calc(50% - 5px),
		center,
		center calc(50% + 5px);
}

.site-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav {
	margin-left: auto;
	display: flex;
	align-items: center;
}

.site-nav__item {
	position: relative;
	list-style: none;
}

.site-nav__list > .site-nav__item > a,
.site-nav__parent {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	min-height: 2.1rem;
	padding: 0.35rem 0.65rem;
	border: 0;
	background: transparent;
	text-decoration: none;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: #111;
	line-height: 1;
	cursor: pointer;
}

.site-nav__list > .site-nav__item > a:hover,
.site-nav__parent:hover,
.site-nav__parent[aria-expanded="true"] {
	opacity: 0.65;
}

.site-nav__caret {
	display: inline-block;
	width: 0.35rem;
	height: 0.35rem;
	margin-top: -0.15rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.site-nav__sub {
	list-style: none;
	margin: 0;
	padding: 0.35rem 0;
	min-width: 12.5rem;
	background: #fff;
	border: 1px solid #e4dde9;
	box-shadow: 0 10px 28px rgba(20, 16, 28, 0.08);
}

.site-nav__sub a {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.55rem 0.85rem;
	text-decoration: none;
	font-size: 0.82rem;
	letter-spacing: 0.03em;
	color: #111;
	line-height: 1.35;
	white-space: nowrap;
}

.site-nav__sub a:hover,
.site-nav__sub a:focus-visible {
	background: #f7f3fb;
	outline: none;
	opacity: 1;
}

.site-nav__mark {
	flex: 0 0 auto;
	font-size: 0.85em;
	line-height: 1;
}

/* Desktop dropdown */
@media (min-width: 721px) {
	.site-nav__sub {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 130;
		display: none;
	}

	.site-nav__item--has-children:hover > .site-nav__sub,
	.site-nav__item--has-children:focus-within > .site-nav__sub,
	.site-nav__item--has-children.is-open > .site-nav__sub {
		display: block;
	}

	.site-nav__item--has-children:hover > .site-nav__parent .site-nav__caret,
	.site-nav__item--has-children.is-open > .site-nav__parent .site-nav__caret {
		transform: rotate(225deg);
		margin-top: 0.15rem;
	}
}

.site-header__tools {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	position: relative;
	margin-left: 0.15rem;
}

.nav-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #111;
	cursor: pointer;
	text-decoration: none;
	border-radius: 0;
	transition: background 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-icon:hover,
.nav-icon[aria-expanded="true"] {
	background: rgba(0, 0, 0, 0.05);
	opacity: 1;
}

.nav-icon__svg {
	display: block;
}

.header-search {
	position: absolute;
	top: calc(100% + 0.55rem);
	right: 0;
	z-index: 120;
	width: min(22rem, calc(100vw - 1.5rem));
	padding: 0.9rem 1rem 1rem;
	background: #faf7fc;
	border: 1px solid #ddd6e4;
	box-shadow: 0 14px 32px rgba(28, 20, 40, 0.1);
	box-sizing: border-box;
}

.header-search::before {
	content: "";
	position: absolute;
	top: -6px;
	right: 0.85rem;
	width: 10px;
	height: 10px;
	background: #faf7fc;
	border-top: 1px solid #ddd6e4;
	border-left: 1px solid #ddd6e4;
	transform: rotate(45deg);
}

.header-search__label {
	margin: 0 0 0.55rem;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #888;
	line-height: 1;
}

.header-search__form {
	margin: 0;
}

.header-search__row {
	display: flex;
	align-items: stretch;
	gap: 0;
	border: 1px solid #c9b6ea;
	background: #fff;
}

.header-search__input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	color: #111;
	padding: 0.7rem 0.8rem;
	font: inherit;
	font-size: 0.92rem;
	line-height: 1.4;
	border-radius: 0;
	appearance: none;
	-webkit-appearance: none;
}

.header-search__input:focus {
	outline: none;
}

.header-search__input::placeholder {
	color: #999;
}

.header-search__row:focus-within {
	border-color: #b39ddd;
	box-shadow: 0 0 0 2px rgba(218, 199, 248, 0.45);
}

.header-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	flex: 0 0 auto;
	border: 0;
	border-left: 1px solid #c9b6ea;
	background: #dac7f8;
	color: #111;
	padding: 0 0.95rem;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 0.15s ease;
}

.header-search__submit:hover,
.header-search__submit:focus-visible {
	background: #ebe1fb;
	outline: none;
}

.header-search__submit-icon {
	display: none;
}

@media (max-width: 720px) {
	.header-search {
		position: fixed;
		top: calc(var(--header-h) + 0.35rem);
		left: 0.75rem;
		right: 0.75rem;
		width: auto;
		min-width: 0;
	}

	.header-search::before {
		right: 4.15rem;
	}

	.header-search__submit-text {
		display: none;
	}

	.header-search__submit-icon {
		display: block;
	}

	.header-search__submit {
		padding: 0 0.85rem;
	}
}

/* Layout */
.site-main {
	min-height: 60vh;
}

.content-wrap {
	max-width: var(--content-w);
	margin: 0 auto;
	padding: var(--space-5) 1.25rem var(--space-6);
}

.content-wrap--narrow {
	max-width: calc(var(--narrow-w) + 2.5rem);
}

.back-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem;
	justify-content: flex-start;
	margin-top: 2.75rem;
	padding-top: 1.35rem;
	border-top: 1px solid #e8e1f0;
}

.back-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	min-height: 2.55rem;
	padding: 0.55rem 1.05rem 0.55rem 0.95rem;
	border: 1px solid #e4dde9;
	background: #fff;
	font-size: var(--fs-ui);
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.3;
	color: #222;
	text-decoration: none;
	transition:
		background 0.25s var(--ease),
		border-color 0.25s var(--ease),
		color 0.25s var(--ease),
		transform 0.25s var(--ease);
}

.back-nav__link::before {
	content: "‹";
	display: block;
	flex-shrink: 0;
	font-size: 1.15em;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-0.04em);
}

.back-nav__link:hover,
.back-nav__link:focus-visible {
	background: var(--color-paper);
	border-color: var(--color-accent-deep);
	color: #000;
	outline: none;
	transform: translateY(-1px);
}

.archive-header {
	margin-bottom: var(--space-4);
}

.archive-header__eyebrow,
.section-head__eyebrow {
	margin: 0 0 0.4rem;
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-sage-soft);
}

.entry-header__type {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: var(--label-h);
	min-height: var(--label-h);
	margin: 0 0 0.65rem;
	padding: 0 var(--label-pad-x) var(--label-nudge);
	font-size: 0.72rem;
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: none;
	color: var(--label-ink);
	background: var(--label-hint);
}

.entry-header__type a {
	color: inherit;
	text-decoration: none;
}

.entry-header__type a:hover,
.entry-header__type a:focus-visible {
	color: inherit;
	opacity: 0.7;
	outline: none;
}

.archive-header__eyebrow a {
	color: inherit;
	text-decoration: none;
}

.archive-header__eyebrow a:hover,
.archive-header__eyebrow a:focus-visible {
	color: inherit;
	opacity: 0.7;
	outline: none;
}

.single-notes .entry-header__type,
.type-notes .entry-header__type {
	background: var(--label-notes);
}

.single-hint .entry-header__type,
.type-hint .entry-header__type {
	background: var(--label-hint);
}

.single-misc .entry-header__type,
.type-misc .entry-header__type {
	background: var(--label-misc);
}

.single-view .entry-header__type,
.type-view .entry-header__type {
	background: var(--label-view);
}

.archive-header__title,
.section-head__title {
	margin: 0 0 0.5rem;
	font-family: var(--font-body);
	font-size: var(--fs-heading);
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: 0.02em;
}

.archive-header__desc,
.section-head__lead {
	color: var(--color-muted);
	max-width: 36rem;
}

.section-head {
	margin-bottom: var(--space-3);
	position: relative;
}

.section-head__link {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 0.92rem;
}

/* Buttons */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 2.75rem;
	padding: 0.65rem 1.25rem;
	border: 1px solid transparent;
	font: inherit;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.button:hover {
	transform: translateY(-1px);
}

.button--primary {
	background: var(--color-accent);
	color: var(--color-ink);
	border-color: var(--color-accent);
	font-weight: 500;
}

.button--primary:hover {
	background: var(--color-accent-deep);
	border-color: var(--color-accent-deep);
	color: var(--color-white);
}

.button--ghost {
	background: transparent;
	color: inherit;
	border-color: currentColor;
}

.button--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
}

/* Cards / grids */
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.post-card {
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(111, 91, 140, 0.12);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.post-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-soft);
}

.post-card__link {
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.post-card__body {
	padding: 1rem 1.1rem 1.25rem;
}

.post-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.7rem;
	margin-bottom: 0.45rem;
	font-size: 0.78rem;
	color: var(--color-muted);
}

.post-card__title {
	margin: 0 0 0.45rem;
	font-size: 1.12rem;
}

.post-card__excerpt {
	margin: 0;
	font-size: 0.92rem;
	color: var(--color-ink-soft);
}

.badge-new {
	display: inline-block;
	padding: 0.1rem 0.4rem;
	background: var(--color-accent);
	color: var(--color-ink);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
}

/* FAQ / Path */
.faq-list {
	display: grid;
	gap: 0;
	border-top: 1px solid #ebe4f2;
}

.faq-list__item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.55rem;
	padding: 0.85rem 0.15rem;
	border-bottom: 1px dashed #d8d0e4;
	text-decoration: none;
	color: #111;
	line-height: 1.55;
	transition: background 0.15s ease;
}

.faq-list__item:hover,
.faq-list__item:focus-visible {
	background: #faf7fc;
	outline: none;
	color: #111;
}

.faq-list__q {
	flex: 0 0 auto;
	font-weight: 500;
	color: #666;
	font-size: 0.85em;
}

.faq-list__title {
	flex: 1 1 12rem;
	font-size: var(--fs-title);
}

.faq-list__new {
	flex: 0 0 auto;
	padding: 0.1em 0.4em;
	background: #dac7f8;
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.3;
}

.entry-header__q {
	margin-right: 0.25em;
	font-weight: 500;
	color: #666;
}

.faq-single__teaser {
	margin: 0 0 1.5rem;
	font-size: 1.02rem;
	line-height: 1.85;
}

.faq-single__teaser p {
	margin: 0;
}

.faq-single__box {
	margin: 0 0 1.5rem;
	padding: 1.25rem 1.35rem;
	border: 1px solid #ddd6e4;
	background: #faf7fc;
}

.faq-single__box > p:first-child {
	margin: 0 0 1rem;
	line-height: 1.75;
}

.faq-single__cta {
	margin: 0;
}

.faq-single__cta .button {
	width: 100%;
	max-width: 22rem;
}

.faq-single__date {
	margin: 0 0 1.25rem;
	font-size: 0.82rem;
	color: #777;
	font-variant-numeric: tabular-nums;
}

.faq-single__note {
	margin: 0 0 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #ebe4f2;
	font-size: 0.86rem;
	line-height: 1.75;
	color: #555;
}

.faq-single__note a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.faq-single__edit {
	margin-top: 1rem;
	font-size: 0.85rem;
}

/* Collapsible archive lists */
.archive-list .is-collapsed,
.faq-list .is-collapsed,
.path-list .is-collapsed,
.post-grid .is-collapsed {
	display: none;
}

.archive-list.is-expanded .is-collapsed,
.archive-list.is-expanded .is-collapsed-mobile,
.faq-list.is-expanded .is-collapsed,
.faq-list.is-expanded .is-collapsed-mobile,
.path-list.is-expanded .is-collapsed,
.path-list.is-expanded .is-collapsed-mobile,
.post-grid.is-expanded .is-collapsed,
.post-grid.is-expanded .is-collapsed-mobile {
	display: revert;
}

.list-more[data-collapse-range="mobile-only"] {
	display: none;
}

@media (max-width: 720px) {
	.archive-list:not(.is-expanded) .is-collapsed-mobile,
	.faq-list:not(.is-expanded) .is-collapsed-mobile,
	.path-list:not(.is-expanded) .is-collapsed-mobile,
	.post-grid:not(.is-expanded) .is-collapsed-mobile {
		display: none;
	}

	.list-more[data-collapse-range="mobile-only"] {
		display: block;
	}
}

.list-more,
.record-more {
	margin: 0;
	padding: 0.95rem 0 0.15rem;
	text-align: center;
	position: relative;
	z-index: 1;
}

.list-more {
	margin-top: 0;
	padding-top: 1rem;
	border-top: 1px solid #ebe4f2;
}

.list-more__btn,
.record-more__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-width: min(100%, 16rem);
	min-height: 2.65rem;
	padding: 0.55rem 1.25rem;
	border: 1px solid #f7f3fb;
	background: #f7f3fb;
	color: #111;
	font: inherit;
	font-size: var(--fs-ui);
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.3;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.list-more__btn:hover,
.list-more__btn:focus-visible,
.record-more__btn:hover,
.record-more__btn:focus-visible {
	background: #ebe1fb;
	border-color: #b39ddd;
	outline: none;
	opacity: 1;
	transform: none;
}

.list-more__icon,
.record-more__icon {
	display: inline-block;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	margin-top: -0.2rem;
	flex: 0 0 auto;
	transition: transform 0.18s ease, margin-top 0.18s ease;
}

.list-more__text {
	display: inline-block;
}

.archive-list.is-expanded + .list-more .list-more__icon,
.archive-list.is-expanded + .list-more .record-more__icon,
.faq-list.is-expanded + .list-more .record-more__icon,
.path-list.is-expanded + .list-more .record-more__icon,
.post-grid.is-expanded + .list-more .record-more__icon,
.is-expanded + .record-more .record-more__icon,
.record-list.is-expanded + .record-more .record-more__icon,
.faq-q-list.is-expanded + .record-more .record-more__icon,
.topic-index.is-expanded + .topic-index-more .list-more__icon,
.topic-index.is-expanded + .topic-index-more .record-more__icon {
	transform: rotate(225deg);
	margin-top: 0.15rem;
}

.archive-list.is-expanded + .list-more .list-more__btn,
.record-list.is-expanded + .record-more .record-more__btn,
.faq-q-list.is-expanded + .record-more .record-more__btn,
.topic-index.is-expanded + .topic-index-more .list-more__btn,
.topic-index.is-expanded + .topic-index-more .record-more__btn {
	background: #fff;
	border-color: #ddd6e4;
	color: #555;
}

/* Compact update / learning-log list (/new/) */
.update-list {
	border-top: 1px solid #ebe4f2;
}

.update-list__item {
	margin: 0;
	border-bottom: 1px solid #ece7f1;
	background: transparent;
}

.update-list__link {
	display: grid;
	grid-template-columns: 6.5rem minmax(0, 1fr) 5rem;
	gap: 0.65rem 0.85rem;
	align-items: center;
	padding: 0.75rem 0.15rem;
	text-decoration: none;
	color: #111;
}

.update-list__link:hover,
.update-list__link:focus-visible {
	background: #faf7fc;
	outline: none;
	color: #111;
}

.update-list__type {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: stretch;
	width: 100%;
	box-sizing: border-box;
	height: var(--label-h);
	min-height: var(--label-h);
	padding: 0 var(--label-pad-x) var(--label-nudge);
	font-size: var(--fs-label);
	letter-spacing: 0.02em;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	color: var(--label-ink, #000);
	background: var(--label-hint);
}

.update-list__item--notes .update-list__type { background: var(--label-notes); }
.update-list__item--hint .update-list__type { background: var(--label-hint); }
.update-list__item--misc .update-list__type { background: var(--label-misc); }
.update-list__item--view .update-list__type { background: var(--label-view); }
.update-list__item--arch .update-list__type { background: #e8e1f0; }

.update-list__main {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.55rem;
	min-width: 0;
}

.update-list__title {
	font-size: var(--fs-title);
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: 0.02em;
}

.update-list__lock,
.entry-header__lock {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: #7a6a92;
	line-height: 1;
	vertical-align: middle;
}

.update-list__lock .icon-lock,
.entry-header__lock .icon-lock {
	display: block;
}

.entry-header__lock {
	margin-left: 0.35rem;
}

.update-list__new {
	flex: 0 0 auto;
	padding: 0.1em 0.4em;
	background: #dac7f8;
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.3;
}

.update-list__date {
	justify-self: end;
	font-size: var(--fs-meta);
	color: #777;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

@media (max-width: 960px) {
	.update-list__link {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 0.55rem 0.65rem;
		align-items: start;
	}

	.update-list__type {
		align-self: center;
		width: auto;
		justify-self: start;
	}

	.update-list__date {
		align-self: center;
	}
}

@media (max-width: 720px) {
	.update-list__link {
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-areas:
			"type date"
			"main main";
		gap: 0.35rem 0.55rem;
		padding: 0.7rem 0.1rem;
	}

	.update-list__type {
		grid-area: type;
	}

	.update-list__main {
		grid-area: main;
	}

	.update-list__title {
		line-height: 1.45;
	}

	.update-list__date {
		grid-area: date;
		justify-self: end;
	}
}

@media (max-width: 390px) {
	.update-list__link {
		padding: 0.65rem 0;
		gap: 0.3rem 0.45rem;
	}
}

.path-list {
	display: grid;
	gap: 0.55rem;
}

.path-item {
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(111, 91, 140, 0.12);
}

.path-item__link {
	display: grid;
	grid-template-columns: 7rem 5rem 1fr 1fr;
	gap: 0.75rem;
	align-items: center;
	padding: 0.85rem 1rem;
	text-decoration: none;
	color: inherit;
}

.path-item__dose {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 500;
}

.path-item--crisis {
	border-color: rgba(138, 59, 59, 0.35);
}

.path-item--sickday {
	border-color: rgba(138, 106, 43, 0.35);
}

.path-badge {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	border: 1px solid rgba(111, 91, 140, 0.25);
	font-size: 0.78rem;
}

.path-badge--crisis {
	border-color: var(--color-danger);
	color: var(--color-danger);
}

.path-badge--sickday {
	border-color: var(--color-warn);
	color: var(--color-warn);
}

.archive-tools {
	margin: 0 0 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.empty-state {
	color: var(--color-muted);
}

/* Pagination / search */
.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: var(--space-4);
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.4rem;
	min-height: 2.4rem;
	padding: 0.3rem 0.6rem;
	border: 1px solid rgba(111, 91, 140, 0.2);
	text-decoration: none;
	color: var(--color-ink);
}

.page-numbers.current {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-ink);
}

.search-form {
	margin-top: 1.5rem;
}

.search-form__row {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.search-form__input {
	flex: 1;
	min-height: 2.75rem;
	padding: 0.5rem 0.8rem;
	border: 1px solid rgba(111, 91, 140, 0.25);
	background: var(--color-white);
	font: inherit;
}

/* Contact form */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.contact-form {
	margin-top: 2rem;
}

.contact-form .form-group {
	margin-bottom: 1rem;
}

.contact-form .form-control {
	width: 100%;
	min-height: 2.85rem;
	padding: 0.7rem 0.9rem;
	border: 1px solid rgba(111, 91, 140, 0.25);
	background: rgba(255, 255, 255, 0.92);
	font: inherit;
}

.contact-form textarea.form-control {
	min-height: 14rem;
	resize: vertical;
}

.contact-form .form-group--confirm {
	margin: 1.5rem 0 0.5rem;
	padding: 1rem 1.1rem;
	border: 1px solid #ddd6e4;
	background: #faf7fc;
	min-width: 0;
	overflow: hidden;
	box-sizing: border-box;
	position: relative;
}

.contact-form__check {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}

.contact-form__check-label {
	display: grid;
	grid-template-columns: 1.35rem minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;
	cursor: pointer;
	font-size: 0.9rem;
	line-height: 1.7;
	color: #222;
	white-space: normal;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.contact-form__check-box {
	display: block;
	width: 1.35rem;
	height: 1.35rem;
	margin-top: 0.15rem;
	border: 1.5px solid #b9a7d8;
	background: #fff;
	box-sizing: border-box;
	position: relative;
	flex-shrink: 0;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.contact-form__check-box::after {
	content: "";
	position: absolute;
	left: 0.38rem;
	top: 0.12rem;
	width: 0.35rem;
	height: 0.7rem;
	border-right: 2px solid #111;
	border-bottom: 2px solid #111;
	transform: rotate(45deg) scale(0);
	transform-origin: center;
	transition: transform 0.15s ease;
}

/* MFP inserts a hidden input between checkbox and label — use ~ not + */
.contact-form__check:checked ~ .contact-form__check-label .contact-form__check-box,
.contact-form__check-label.mfp_checked .contact-form__check-box {
	background: var(--color-accent);
	border-color: var(--color-accent-deep);
}

.contact-form__check:checked ~ .contact-form__check-label .contact-form__check-box::after,
.contact-form__check-label.mfp_checked .contact-form__check-box::after {
	transform: rotate(45deg) scale(1);
}

.contact-form__check:focus-visible ~ .contact-form__check-label .contact-form__check-box {
	outline: 2px solid #b39ddd;
	outline-offset: 2px;
}

.contact-form__check-text {
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: normal;
}

.contact-form__check-text a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.contact-form__check-text a:hover {
	opacity: 0.7;
}

/* Override mailformpro label chrome */
form#mailformpro .contact-form__check-label,
form#mailformpro label.contact-form__check-label.mfp_checked,
form#mailformpro label.contact-form__check-label.mfp_not_checked {
	display: grid;
	white-space: normal;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

form#mailformpro .contact-form__check-text {
	white-space: normal;
}

.contact-form .mfp_buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem 1.25rem;
	margin-top: 1.75rem;
	padding-top: 1.35rem;
	border-top: 1px solid #e8e1f0;
	text-align: left;
}

.contact-form .mfp_buttons .button--primary,
.contact-form .mfp_buttons .mfp_element_submit,
.contact-form .mfp_buttons button[type="submit"],
.contact-form #mfp_button_send,
.contact-form .mfp_buttons #mfp_button_send {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 10.5rem;
	min-height: 2.85rem;
	padding: 0.7rem 1.6rem;
	border: 1px solid var(--color-accent);
	border-radius: 0;
	background: var(--color-accent);
	background-image: none;
	box-shadow: none;
	text-shadow: none;
	color: var(--color-ink);
	font: inherit;
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	cursor: pointer;
	transition:
		background 0.25s var(--ease),
		border-color 0.25s var(--ease),
		color 0.25s var(--ease),
		transform 0.25s var(--ease);
}

.contact-form .mfp_buttons .button--primary:hover,
.contact-form .mfp_buttons .button--primary:focus-visible,
.contact-form .mfp_buttons .mfp_element_submit:hover,
.contact-form .mfp_buttons .mfp_element_submit:focus-visible,
.contact-form .mfp_buttons button[type="submit"]:hover,
.contact-form .mfp_buttons button[type="submit"]:focus-visible,
.contact-form #mfp_button_send:hover,
.contact-form #mfp_button_send:focus-visible {
	background: var(--color-accent-deep);
	background-image: none;
	border-color: var(--color-accent-deep);
	box-shadow: none;
	color: var(--color-white);
	outline: none;
	transform: translateY(-1px);
}

.contact-form .mfp_buttons .button--ghost[type="reset"],
.contact-form .mfp_buttons .mfp_element_reset,
.contact-form .mfp_buttons button[type="reset"],
.contact-form #mfp_button_cancel,
.contact-form .mfp_buttons #mfp_button_cancel {
	margin-left: auto;
	border: 0;
	border-radius: 0;
	background: transparent;
	background-image: none;
	box-shadow: none;
	text-shadow: none;
	color: #666;
	min-height: auto;
	min-width: 0;
	padding: 0.5rem 0.15rem;
	font: inherit;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	cursor: pointer;
}

.contact-form .mfp_buttons .button--ghost[type="reset"]:hover,
.contact-form .mfp_buttons .button--ghost[type="reset"]:focus-visible,
.contact-form .mfp_buttons .mfp_element_reset:hover,
.contact-form .mfp_buttons .mfp_element_reset:focus-visible,
.contact-form .mfp_buttons button[type="reset"]:hover,
.contact-form .mfp_buttons button[type="reset"]:focus-visible,
.contact-form #mfp_button_cancel:hover,
.contact-form #mfp_button_cancel:focus-visible {
	background: transparent;
	background-image: none;
	box-shadow: none;
	color: #111;
	transform: none;
	opacity: 0.75;
	outline: none;
}

/* Confirm phase (入力内容をご確認ください) */
.contact-form #mfp_phase_confirm {
	clear: both;
	margin: 0.5rem 0 0;
}

.contact-form #mfp_phase_confirm_inner {
	padding: 0;
}

.contact-form #mfp_phase_confirm h4 {
	margin: 0 0 1.35rem;
	padding: 0 0 0.85rem;
	border-bottom: 1px solid #e8e1f0;
	font-family: var(--font-body);
	font-size: var(--fs-heading);
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: 0.02em;
	text-align: left;
	color: var(--color-ink);
}

.contact-form #mfp_confirm_table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0;
}

.contact-form #mfp_confirm_table th,
.contact-form #mfp_confirm_table td {
	padding: 0.95rem 0;
	border-top: 1px solid #ebe4f2;
	border-bottom: 0;
	text-align: left;
	vertical-align: top;
	font-size: var(--fs-body);
	line-height: 1.7;
	color: var(--color-ink);
	word-break: break-word;
}

.contact-form #mfp_confirm_table tr:first-child th,
.contact-form #mfp_confirm_table tr:first-child td {
	border-top: 0;
	padding-top: 0.35rem;
}

.contact-form #mfp_confirm_table th {
	width: 8.5rem;
	padding-right: 1.25rem;
	white-space: nowrap;
	font-weight: 500;
	font-size: var(--fs-ui);
	letter-spacing: 0.04em;
	color: #555;
}

.contact-form #mfp_confirm_table tr.mfp_colored,
.contact-form #mfp_confirm_table tr.mfp_achroma {
	background: transparent;
}

.contact-form #mfp_phase_confirm .mfp_buttons {
	margin-top: 1.75rem;
}

@media (max-width: 720px) {
	.contact-form #mfp_confirm_table,
	.contact-form #mfp_confirm_table tbody,
	.contact-form #mfp_confirm_table tr,
	.contact-form #mfp_confirm_table th,
	.contact-form #mfp_confirm_table td {
		display: block;
		width: 100%;
	}

	.contact-form #mfp_confirm_table th {
		padding: 0.85rem 0 0.15rem;
		border-top: 1px solid #ebe4f2;
	}

	.contact-form #mfp_confirm_table td {
		padding: 0.15rem 0 0.85rem;
		border-top: 0;
	}

	.contact-form #mfp_confirm_table tr:first-child th {
		border-top: 0;
		padding-top: 0.25rem;
	}
}

.contact-form .mfp_err {
	color: var(--color-danger);
	font-size: 0.86rem;
}

/* Footer / sister sites — size feel matched to cocodiary.net */
.site-footer {
	padding: 0;
	border-top: 0;
	background: transparent;
}

.sister-footer__main {
	background: #1a1a1a;
	color: #fff;
	padding: 3rem 0 2.75rem;
}

.sister-footer__grid,
.sister-footer__inner {
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.sister-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.75rem 2rem;
	align-items: start;
}

.sister-footer__col {
	display: grid;
	gap: 0.65rem;
	align-content: start;
}

.sister-footer__label,
.sister-footer__card-title,
.sister-footer__sns-title {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1.5;
	color: #fff;
}

.sister-footer__brand-link {
	display: block;
	text-decoration: none;
}

.sister-footer__brand-logo {
	display: block;
	width: min(100%, 15.5rem);
	height: auto;
}

.sister-footer__banner {
	display: block;
	width: 100%;
	max-width: 15.5rem;
	height: auto;
	aspect-ratio: 280 / 70;
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.sister-footer__url,
.sister-footer__card,
.sister-footer__sns a,
.sister-footer__main a {
	color: #fff;
	text-decoration: none;
}

.sister-footer__url {
	font-size: 0.82rem;
	word-break: break-all;
	opacity: 0.9;
}

.sister-footer__card {
	text-decoration: none;
}

.sister-footer__card:hover .sister-footer__banner {
	opacity: 0.92;
}

.sister-footer__card-note {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.65;
	color: #fff;
}

.sister-footer__sns-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.35rem;
	font-size: 0.82rem;
	line-height: 1.7;
	color: #fff;
}

.sister-footer__sns-list a:hover {
	text-decoration: underline;
}

.sister-footer__sub {
	background: #141414;
	color: #fff;
	padding: 1.6rem 0 2.1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.sister-footer__sub .footer-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.25rem;
	list-style: none;
	margin: 0 0 0.95rem;
	padding: 0;
}

.sister-footer__sub .footer-nav__list li:not(:last-child)::after {
	content: "/";
	margin-left: 0.35rem;
	color: #fff;
}

.sister-footer__sub a {
	color: #fff;
	text-decoration: none;
	font-size: 0.88rem;
}

.sister-footer__sub a:hover {
	text-decoration: underline;
}

.sister-footer__sub .site-footer__disclaimer,
.sister-footer__sub .site-footer__copy {
	margin: 0 0 0.55rem;
	font-size: 0.78rem;
	line-height: 1.75;
	color: #fff;
}

.sister-footer__sub .site-footer__copy {
	color: #fff;
	font-size: 0.84rem;
}

.sister-footer__sub .site-footer__copy a {
	font-size: inherit;
}

.sister-footer__sub .site-footer__copy-name::after {
	content: " ";
}

@media (max-width: 960px) {
	.sister-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.75rem 1.5rem;
	}
}

@media (max-width: 720px) {
	.sister-footer__main {
		padding: 2.4rem 0 2rem;
	}

	.sister-footer__grid {
		grid-template-columns: 1fr;
		gap: 1.6rem;
		justify-items: center;
		text-align: center;
	}

	.sister-footer__col {
		justify-items: center;
		width: 100%;
	}

	.sister-footer__brand-logo,
	.sister-footer__banner {
		max-width: 18rem;
		margin-left: auto;
		margin-right: auto;
	}

	.sister-footer__sns-list {
		justify-items: center;
	}

	.sister-footer__sub {
		text-align: center;
	}

	.sister-footer__sub .footer-nav__list {
		justify-content: center;
	}

	.sister-footer__sub .site-footer__disclaimer {
		text-align: left;
	}

	.sister-footer__sub .site-footer__copy {
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0.2rem;
	}

	.sister-footer__sub .site-footer__copy-name::after {
		content: none;
	}

	.sister-footer__sub .site-footer__copy-url {
		display: block;
	}
}

/* Motion: reveal */
@media (prefers-reduced-motion: no-preference) {
	.hero__content > * {
		animation: rise-in 0.9s var(--ease) both;
	}
	.hero__brand { animation-delay: 0.08s; }

	.reveal-ready .numbered-list__item,
	.reveal-ready .diagram-card,
	.reveal-ready .record-item,
	.reveal-ready .faq-link-list li,
	.reveal-ready .post-card {
		opacity: 0;
		transform: translateY(14px);
		transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
	}

	.reveal-ready .is-visible {
		opacity: 1;
		transform: none;
	}
}

@keyframes rise-in {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* Responsive */
@media (max-width: 980px) {
	.site-nav__list > .site-nav__item > a,
	.site-nav__parent {
		padding: 0.35rem 0.4rem;
	}
}

@media (max-width: 960px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.path-item__link {
		grid-template-columns: 6rem 4.5rem 1fr;
	}

	.path-item__reason {
		grid-column: 2 / -1;
	}
}

@media (max-width: 720px) {
	:root {
		--fs-body: 0.95rem;
		--fs-heading: 1.1rem;
		--fs-title: 0.9rem;
		--fs-lead: 0.86rem;
		--fs-ui: 0.84rem;
		--fs-meta: 0.75rem;
		--fs-label: 0.7rem;
		--fs-tiny: 0.66rem;
	}

	body {
		font-size: var(--fs-body);
		line-height: 1.75;
	}

	.content-wrap {
		padding: 1.5rem 0.95rem 2.5rem;
	}

	.archive-header {
		margin-bottom: 1.25rem;
	}

	.archive-header__title,
	.section-head__title,
	.entry-header__title {
		font-size: var(--fs-heading);
	}

	.archive-header__desc,
	.section-head__lead {
		font-size: var(--fs-lead);
		line-height: 1.7;
	}

	.entry-header__type,
	.update-list__type,
	.badge-new,
	.update-list__new,
	.faq-list__new {
		font-size: var(--fs-label);
	}

	.update-list__title,
	.faq-list__title,
	.post-card__title {
		font-size: var(--fs-title);
	}

	.update-list__date,
	.post-card__meta,
	.post-card__date {
		font-size: var(--fs-meta);
	}

	.post-card__excerpt,
	.list-more__btn,
	.record-more__btn,
	.back-nav__link,
	.button {
		font-size: var(--fs-ui);
	}

	.site-brand__link {
		font-size: var(--fs-ui);
	}

	.site-nav__list > .site-nav__item > a,
	.site-nav__parent,
	.site-nav__sub a {
		font-size: var(--fs-ui);
	}

	.footer-copy,
	.site-footer {
		font-size: var(--fs-meta);
	}

	.faq-list__item {
		padding: 0.7rem 0.05rem;
		gap: 0.25rem 0.4rem;
	}

	.faq-list__title {
		flex: 1 1 100%;
		line-height: 1.5;
	}

	.post-card__body {
		padding: 0.85rem 0.9rem 1rem;
	}

	.nav-toggle {
		display: inline-flex;
		order: 3;
		margin-left: 0;
		flex: 0 0 auto;
	}

	.site-header__tools {
		order: 2;
		margin-left: auto;
		flex: 0 0 auto;
	}

	.site-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		margin-left: 0;
		background: rgba(255, 255, 255, 0.98);
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
		padding: 0.75rem 1.25rem 1.1rem;
		order: 4;
		width: 100%;
		height: auto;
	}

	.site-nav.is-open {
		display: block;
	}

	.site-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		height: auto;
	}

	.site-nav__list > .site-nav__item > a,
	.site-nav__parent {
		width: 100%;
		justify-content: space-between;
		min-height: 2.6rem;
		padding: 0.7rem 0.15rem;
		border-bottom: 1px dashed #e4dde9;
		opacity: 1;
	}

	.site-nav__sub {
		display: none;
		border: 0;
		box-shadow: none;
		background: #faf7fc;
		padding: 0.25rem 0 0.55rem;
		margin: 0 0 0.35rem;
	}

	.site-nav__item--has-children.is-open > .site-nav__sub {
		display: block;
	}

	.site-nav__item--has-children.is-open > .site-nav__parent .site-nav__caret {
		transform: rotate(225deg);
		margin-top: 0.15rem;
	}

	.site-nav__sub a {
		white-space: normal;
		padding: 0.55rem 0.85rem;
		border-bottom: 0;
	}

	.site-header {
		height: auto;
		min-height: var(--header-h);
	}

	.site-header__inner {
		flex-wrap: nowrap;
		align-items: center;
		gap: 0.4rem;
		height: auto;
		min-height: var(--header-h);
		padding: 0.55rem 0.85rem;
	}

	h1.site-brand,
	.site-brand {
		flex: 1 1 auto;
		min-width: 0;
		max-width: none;
	}

	.site-brand__link {
		display: block;
		white-space: normal;
		line-height: 1.3;
		font-size: 0.72rem;
	}

	.site-brand__link span {
		padding-left: 0.3em;
	}

	.post-grid {
		grid-template-columns: 1fr;
	}

	.path-item__link {
		grid-template-columns: 1fr 1fr;
	}

	.path-item__date,
	.path-item__dose {
		grid-column: span 1;
	}

	.path-item__status,
	.path-item__reason {
		grid-column: 1 / -1;
	}

	.search-form__row {
		flex-direction: column;
	}
}

/* iPhone SE / mini — spacing only; type stays on the 720 scale */
@media (max-width: 390px) {
	.site-header__inner {
		gap: 0.25rem;
		padding: 0.5rem 0.7rem;
	}

	.site-brand__link {
		font-size: 0.8rem;
		line-height: 1.35;
	}

	.nav-icon,
	.nav-toggle {
		width: 1.95rem;
		height: 1.95rem;
	}
}

/* Force square corners site-wide */
*,
*::before,
*::after {
	border-radius: 0 !important;
}
