:root {
	--primary: #789f72;
	--primary-light: #cedfc9;
	--background: #e6ede1;
	--surface: #dce8d8;
	--cream: #d3e0ce;
	--text-primary: #344033;
	--text-secondary: #5f6b5d;
	--pink: #cfdec9;
	--peach: #d6e2cf;
	--yellow: #dde2c7;
	--blue: #c8dcd5;
	--border: #bfcdba;
	--color-cream: var( --background );
	--color-cream-deep: var( --cream );
	--color-matcha: var( --primary );
	--color-matcha-dark: var( --text-primary );
	--color-matcha-soft: var( --primary-light );
	--color-pink: var( --pink );
	--color-pink-soft: var( --primary-light );
	--color-brown: var( --text-primary );
	--color-muted: var( --text-secondary );
	--color-white: var( --surface );
	--shadow-soft: 0 12px 35px rgba( 93, 74, 59, 0.08 );
	--radius-large: 28px;
	--radius-medium: 18px;
	--site-width: 1180px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	min-width: 0;
	margin: 0;
	background: var( --color-cream );
	color: var( --color-brown );
	font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.75;
	text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
	top: 32px;
}

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

a {
	color: var( --color-matcha-dark );
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
	font: inherit;
}

.site-shell {
	width: min( calc( 100% - 48px ), var( --site-width ) );
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 10px;
	left: 10px;
	width: auto;
	height: auto;
	padding: 10px 16px;
	clip: auto;
	background: var( --color-white );
	border-radius: 8px;
}

.site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	background: rgba( 255, 250, 241, 0.96 );
	border-bottom: 1px solid rgba( 96, 115, 88, 0.12 );
	backdrop-filter: blur( 12px );
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 84px;
	gap: 32px;
}

.site-branding {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 12px;
}

.custom-logo-link,
.site-branding__mark {
	display: grid;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	place-items: center;
	background: var( --color-pink-soft );
	border-radius: 50%;
}

.custom-logo {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.site-branding__mark {
	color: #c77e84;
	font-size: 20px;
	text-decoration: none;
}

.site-title,
.site-description {
	margin: 0;
}

.site-title {
	font-family: "STKaiti", "KaiTi", serif;
	font-size: clamp( 1.2rem, 2vw, 1.55rem );
	font-weight: 700;
	line-height: 1.3;
}

.site-title a {
	color: var( --color-brown );
	text-decoration: none;
}

.site-description {
	color: var( --color-muted );
	font-size: 0.75rem;
}

.menu,
.primary-navigation .page_item,
.primary-navigation ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-navigation .menu,
.primary-navigation > div > ul {
	display: flex;
	align-items: center;
	gap: clamp( 16px, 2.5vw, 32px );
}

.primary-navigation a {
	display: block;
	padding: 8px 0;
	color: var( --color-brown );
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
	color: var( --color-matcha-dark );
}

.menu-toggle {
	display: none;
	align-items: center;
	padding: 9px 12px;
	gap: 8px;
	color: var( --color-brown );
	background: var( --color-white );
	border: 1px solid rgba( 96, 115, 88, 0.2 );
	border-radius: 12px;
	cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.menu-toggle__icon {
	position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
	position: absolute;
	left: 0;
	content: "";
}

.menu-toggle__icon::before {
	top: -6px;
}

.menu-toggle__icon::after {
	top: 6px;
}

.hero-section {
	padding: clamp( 56px, 8vw, 104px ) 0;
	overflow: hidden;
}

.hero-section__inner {
	display: grid;
	grid-template-columns: minmax( 0, 1.05fr ) minmax( 320px, 0.95fr );
	align-items: center;
	gap: clamp( 48px, 8vw, 100px );
}

.eyebrow {
	margin: 0 0 12px;
	color: var( --color-matcha-dark );
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.18em;
}

.hero-section h1,
.section-heading h2,
.entry-header h1,
.archive-header h1 {
	margin: 0;
	font-family: "STKaiti", "KaiTi", serif;
	font-weight: 700;
	line-height: 1.35;
}

.hero-section h1 {
	max-width: 650px;
	font-size: clamp( 2.25rem, 5vw, 4.5rem );
	letter-spacing: -0.03em;
}

.hero-section__lead {
	max-width: 610px;
	margin: 24px 0 32px;
	color: var( --color-muted );
	font-size: clamp( 1rem, 1.5vw, 1.12rem );
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 24px;
	color: var( --color-white );
	background: var( --color-matcha-dark );
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 180ms ease, translate 180ms ease;
}

.button:hover,
.button:focus-visible {
	background: #4f6248;
	translate: 0 -2px;
}

.hero-illustration {
	position: relative;
	min-height: 390px;
	overflow: hidden;
	background: var( --color-pink-soft );
	border: 12px solid rgba( 255, 255, 255, 0.72 );
	border-radius: 48% 52% 44% 56% / 58% 44% 56% 42%;
	box-shadow: var( --shadow-soft );
}

.hero-illustration__sun {
	position: absolute;
	top: 56px;
	right: 70px;
	width: 76px;
	height: 76px;
	background: #f5d99b;
	border-radius: 50%;
}

.hero-illustration__heart {
	position: absolute;
	z-index: 2;
	top: 102px;
	left: 50%;
	color: #cb858a;
	font-size: 80px;
	transform: translateX( -50% ) rotate( -5deg );
}

.hero-illustration__hill {
	position: absolute;
	right: -15%;
	bottom: -25%;
	left: -15%;
	height: 62%;
	background: var( --color-matcha );
	border-radius: 50% 50% 0 0;
}

.hero-illustration__hill--back {
	bottom: -8%;
	left: 26%;
	height: 54%;
	background: #b4c5a8;
}

.section-space {
	padding: clamp( 64px, 8vw, 104px ) 0;
}

.section-space--compact {
	padding-top: 0;
}

.feature-section {
	background: var( --color-cream-deep );
}

.section-heading {
	max-width: 680px;
	margin-bottom: 36px;
}

.section-heading h2 {
	font-size: clamp( 1.9rem, 3vw, 2.8rem );
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 20px;
}

.feature-card,
.content-card,
.post-card {
	background: rgba( 255, 255, 255, 0.78 );
	border: 1px solid rgba( 96, 115, 88, 0.1 );
	border-radius: var( --radius-large );
	box-shadow: var( --shadow-soft );
}

.feature-card {
	display: flex;
	min-width: 0;
	min-height: 270px;
	padding: 28px;
	flex-direction: column;
	color: var( --color-brown );
	text-decoration: none;
	transition: border-color 180ms ease, translate 180ms ease;
}

.feature-card:nth-child( even ) {
	background: rgba( 250, 230, 231, 0.72 );
}

.feature-card:hover,
.feature-card:focus-visible {
	border-color: rgba( 96, 115, 88, 0.35 );
	translate: 0 -4px;
}

.feature-card__icon {
	display: grid;
	width: 48px;
	height: 48px;
	margin-bottom: 28px;
	place-items: center;
	color: var( --color-matcha-dark );
	background: var( --color-cream );
	border-radius: 50%;
	font-size: 1.25rem;
}

.feature-card h3 {
	margin: 0 0 8px;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: 1.35rem;
}

.feature-card p {
	margin: 0 0 24px;
	color: var( --color-muted );
	font-size: 0.94rem;
}

.feature-card__link {
	margin-top: auto;
	color: var( --color-matcha-dark );
	font-size: 0.88rem;
	font-weight: 700;
}

.content-card {
	padding: clamp( 28px, 5vw, 64px );
}

.entry-content {
	overflow-wrap: anywhere;
}

.entry-content > *:first-child,
.post-card__content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child,
.post-card__content > *:last-child {
	margin-bottom: 0;
}

.entry-content img {
	border-radius: var( --radius-medium );
}

.post-list {
	display: grid;
	gap: 24px;
}

.archive-header {
	margin-bottom: 32px;
}

.post-card {
	display: grid;
	grid-template-columns: minmax( 220px, 0.75fr ) minmax( 0, 1.25fr );
	overflow: hidden;
}

/* Singular entries reuse the card markup but must not inherit the archive's two-column layout. */
.single .post-card {
	grid-template-columns: minmax( 0, 1fr );
}

.post-card__thumbnail img {
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
}

.post-card__content {
	padding: clamp( 26px, 5vw, 48px );
}

.post-card__meta {
	margin: 0 0 8px;
	color: var( --color-muted );
	font-size: 0.82rem;
}

.post-card__title {
	margin: 0 0 16px;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: clamp( 1.5rem, 3vw, 2.2rem );
	line-height: 1.35;
}

.post-card__title a {
	color: var( --color-brown );
	text-decoration: none;
}

.related-posts,
.single .post-navigation {
	margin-top: clamp( 28px, 5vw, 48px );
	padding-top: clamp( 24px, 4vw, 36px );
	border-top: 1px solid var( --border );
}

.related-posts > h2 {
	margin: 0 0 18px;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: clamp( 1.35rem, 2.5vw, 1.75rem );
}

.related-posts__grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 16px;
}

.related-post-card {
	min-width: 0;
	overflow: hidden;
	background: var( --surface );
	border: 1px solid var( --border );
	border-radius: var( --radius-medium );
}

.related-post-card__image {
	display: grid;
	aspect-ratio: 16 / 9;
	place-items: center;
	overflow: hidden;
	color: var( --primary );
	background: var( --cream );
	font-size: 2rem;
	text-decoration: none;
}

.related-post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.related-post-card__body {
	padding: 14px 16px 17px;
}

.related-post-card time {
	color: var( --text-secondary );
	font-size: 0.75rem;
}

.related-post-card h3 {
	margin: 4px 0 0;
	font-size: 1rem;
	line-height: 1.55;
}

.related-post-card h3 a {
	color: var( --text-primary );
	text-decoration: none;
}

.single .post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 16px;
}

.single .post-navigation a {
	display: block;
	height: 100%;
	padding: 16px 18px;
	background: var( --surface );
	border: 1px solid var( --border );
	border-radius: var( --radius-medium );
	text-decoration: none;
}

.single .post-navigation .nav-next {
	text-align: right;
}

.single .post-navigation .nav-subtitle,
.single .post-navigation .nav-title {
	display: block;
}

.single .post-navigation .nav-subtitle {
	margin-bottom: 3px;
	color: var( --text-secondary );
	font-size: 0.75rem;
}

.single .post-navigation .nav-title {
	color: var( --text-primary );
	font-weight: 700;
}

.empty-state {
	text-align: center;
}

.site-footer {
	padding: 56px 0 24px;
	background: var( --color-matcha-dark );
	color: rgba( 255, 255, 255, 0.82 );
}

.site-footer__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
}

.site-footer__title {
	margin: 0 0 4px;
	color: var( --color-white );
	font-family: "STKaiti", "KaiTi", serif;
	font-size: 1.4rem;
	font-weight: 700;
}

.site-footer__tagline,
.site-footer__bottom p {
	margin: 0;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
}

.footer-menu a {
	color: var( --color-white );
	text-decoration: none;
}

.site-footer__bottom {
	padding-top: 28px;
	margin-top: 36px;
	border-top: 1px solid rgba( 255, 255, 255, 0.16 );
	font-size: 0.82rem;
}

.site-footer__legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	flex-wrap: wrap;
}

.site-footer__public-security {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
	text-decoration: none;
}

.site-footer__public-security img {
	width: 18px;
	height: 20px;
	object-fit: contain;
	flex: 0 0 auto;
}

.site-footer__public-security:hover,
.site-footer__public-security:focus-visible {
	color: var( --color-white );
	text-decoration: underline;
}

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

	.hero-section__inner {
		gap: 48px;
	}
}

@media ( max-width: 768px ) {
	body.admin-bar .site-header {
		top: 46px;
	}

	.site-shell {
		width: min( calc( 100% - 32px ), var( --site-width ) );
	}

	.site-header__inner {
		position: relative;
		min-height: 72px;
		gap: 16px;
	}

	.site-description {
		display: none;
	}

	.site-header.has-js .menu-toggle {
		display: inline-flex;
	}

	.site-header.has-js .primary-navigation {
		display: none;
		position: absolute;
		top: calc( 100% - 4px );
		right: 0;
		left: 0;
		padding: 12px;
		background: var( --color-white );
		border: 1px solid rgba( 96, 115, 88, 0.15 );
		border-radius: 0 0 18px 18px;
		box-shadow: var( --shadow-soft );
	}

	.site-header.has-js.is-menu-open .primary-navigation {
		display: block;
	}

	.primary-navigation .menu,
	.primary-navigation > div > ul {
		display: block;
	}

	.primary-navigation a {
		padding: 10px 12px;
		border-radius: 8px;
	}

	.primary-navigation a:hover,
	.primary-navigation a:focus-visible {
		background: var( --color-cream );
	}

	.hero-section__inner {
		grid-template-columns: 1fr;
	}

	.hero-illustration {
		min-height: 300px;
	}

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

	.related-posts__grid {
		grid-template-columns: 1fr;
	}

	.single .post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.single .post-navigation .nav-next {
		text-align: left;
	}

	.post-card__thumbnail img {
		max-height: 380px;
	}

	.site-footer__inner {
		flex-direction: column;
	}
}

@media ( max-width: 430px ) {
	.site-shell {
		width: min( calc( 100% - 24px ), var( --site-width ) );
	}

	.site-title {
		font-size: 1.08rem;
	}

	.custom-logo-link,
	.site-branding__mark,
	.custom-logo {
		width: 42px;
		height: 42px;
	}

	.menu-toggle {
		padding-inline: 10px;
		font-size: 0.88rem;
	}

	.hero-section {
		padding-top: 48px;
	}

	.hero-section h1 {
		font-size: clamp( 2rem, 11vw, 3rem );
	}

	.hero-illustration {
		min-height: 250px;
		border-width: 8px;
	}

	.hero-illustration__heart {
		top: 68px;
		font-size: 62px;
	}

	.hero-illustration__sun {
		top: 34px;
		right: 42px;
		width: 58px;
		height: 58px;
	}

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

	.feature-card {
		min-height: 230px;
	}

	.footer-menu {
		flex-direction: column;
	}

	.site-footer__legal {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* Growth dashboard front page. */
.home {
	background: #f8f0e5;
}

.home .site-shell {
	width: min( calc( 100% - 48px ), 1340px );
}

.site-header {
	background: rgba( 255, 253, 249, 0.97 );
	border-color: rgba( 133, 89, 56, 0.12 );
	box-shadow: 0 5px 24px rgba( 97, 67, 45, 0.05 );
}

.site-header__inner {
	min-height: 86px;
}

.site-branding__mark {
	color: #f78e95;
	background: #fff0ed;
	border: 2px solid #ffb1af;
}

.site-title,
.site-title a {
	color: #754522;
}

.site-description {
	color: #a37e66;
}

.primary-navigation .menu > li > a,
.primary-navigation > div > ul > li > a {
	display: flex;
	min-width: 64px;
	padding: 6px 4px;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	color: #7b5137;
	font-size: 0.78rem;
}

.primary-navigation .menu > li > a::before,
.primary-navigation > div > ul > li > a::before {
	display: block;
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	content: "";
}

.primary-navigation .menu > li:nth-child( 1 ) > a::before,
.primary-navigation > div > ul > li:nth-child( 1 ) > a::before {
	background-image: var( --ui-icon-home );
}

.primary-navigation .menu > li:nth-child( 2 ) > a::before,
.primary-navigation > div > ul > li:nth-child( 2 ) > a::before {
	background-image: var( --ui-icon-records );
}

.primary-navigation .menu > li:nth-child( 3 ) > a::before,
.primary-navigation > div > ul > li:nth-child( 3 ) > a::before {
	background-image: var( --ui-icon-album );
}

.primary-navigation .menu > li:nth-child( 4 ) > a::before,
.primary-navigation > div > ul > li:nth-child( 4 ) > a::before {
	background-image: var( --ui-icon-growth-data );
}

.primary-navigation .menu > li:nth-child( 5 ) > a::before,
.primary-navigation > div > ul > li:nth-child( 5 ) > a::before {
	background-image: var( --ui-icon-profile );
}

.site-profile {
	display: grid;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	place-items: center;
	color: #865739;
	background: #f7d8c5;
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 3px 10px rgba( 112, 72, 46, 0.15 );
	font-family: "STKaiti", "KaiTi", serif;
	font-weight: 700;
}

.growth-home {
	padding-bottom: 48px;
	background:
		radial-gradient( circle at 90% 8%, rgba( 255, 218, 197, 0.48 ), transparent 23% ),
		linear-gradient( 180deg, #fff8ee 0, #fbf4e9 100% );
}

.growth-hero {
	padding: 22px 0 20px;
}

.growth-hero__grid {
	display: grid;
	grid-template-columns: minmax( 0, 1.08fr ) minmax( 360px, 0.92fr );
	align-items: stretch;
	gap: 24px;
}

.growth-hero__photo {
	min-height: 370px;
	overflow: hidden;
	background: #ead9c5;
	border: 1px solid rgba( 149, 100, 63, 0.09 );
	border-radius: 22px;
	box-shadow: 0 12px 34px rgba( 104, 70, 43, 0.12 );
}

.growth-hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 38%;
}

.growth-hero__content {
	display: flex;
	min-width: 0;
	padding: 22px 0 8px;
	flex-direction: column;
	justify-content: space-between;
}

.baby-heading__eyebrow {
	margin: 0 0 4px;
	color: var( --color-matcha-dark );
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.2em;
}

.baby-heading h1 {
	margin: 0;
	color: #704220;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: clamp( 2.7rem, 5vw, 4.6rem );
	line-height: 1.1;
}

.baby-heading h1 span {
	color: #f39198;
	font-family: sans-serif;
	font-size: 0.72em;
	font-weight: 400;
}

.baby-heading > p:last-child {
	margin: 9px 0 0;
	color: #785b4b;
	font-size: 1.05rem;
}

.days-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 174px;
	padding: 24px 30px;
	gap: 24px;
	background: rgba( 255, 255, 255, 0.8 );
	border: 1px solid rgba( 155, 104, 66, 0.12 );
	border-radius: 22px;
	box-shadow: 0 10px 28px rgba( 104, 70, 43, 0.08 );
}

.days-card p {
	margin: 0 0 4px;
	color: #674833;
	font-size: 0.95rem;
}

.days-card strong {
	color: var( --color-matcha );
	font-family: Georgia, serif;
	font-size: clamp( 3rem, 6vw, 4.5rem );
	line-height: 1;
}

.birth-counter__result {
	display: flex;
	align-items: baseline;
}

.birth-counter__unit {
	margin-left: 8px;
	color: #5e3924;
	font-size: 1.15rem;
	font-weight: 700;
}

.birthday-field {
	display: flex;
	align-items: center;
	max-width: 245px;
	margin-top: 10px;
	overflow: hidden;
	background: var( --color-matcha-soft );
	border: 1px solid rgba( 123, 174, 127, 0.34 );
	border-radius: 10px;
}

.birthday-field > span {
	flex: 0 0 auto;
	padding: 7px 9px;
	color: var( --color-matcha-dark );
	font-size: 0.72rem;
	font-weight: 700;
}

.birthday-field input {
	min-width: 0;
	width: 145px;
	padding: 6px 8px;
	color: #5e493d;
	background: #fff;
	border: 0;
	border-left: 1px solid rgba( 123, 174, 127, 0.25 );
	border-radius: 0;
	font-size: 0.75rem;
}

.birthday-field input:focus-visible {
	outline: 2px solid var( --color-matcha );
	outline-offset: -2px;
}

.birth-counter > small {
	display: block;
	min-height: 1.4em;
	margin-top: 4px;
	color: #9a8475;
	font-size: 0.62rem;
}

.birth-counter > small.is-error {
	color: #b94f56;
}

.days-card__bear {
	position: relative;
	width: clamp( 58px, 7vw, 86px );
	flex: 0 0 auto;
}

.days-card__bear span {
	position: absolute;
	top: -8px;
	right: -6px;
	color: #f4a0a4;
	font-family: sans-serif;
	font-size: 1.4rem;
}

.days-card__bear-image,
.records-love-note__image,
.growth-data-hero__bear-image,
.about-hero__bear-image,
.about-mission__image,
.about-contact__bear-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.days-card__bear-image {
	aspect-ratio: 1;
}

.growth-home__layout {
	display: grid;
	grid-template-columns: minmax( 0, 2.15fr ) minmax( 280px, 0.85fr );
	align-items: start;
	gap: 20px;
}

.growth-home__main,
.growth-home__side {
	display: grid;
	min-width: 0;
	gap: 20px;
}

.dashboard-panel {
	min-width: 0;
	padding: 17px;
	background: rgba( 255, 255, 255, 0.82 );
	border: 1px solid rgba( 148, 99, 62, 0.1 );
	border-radius: 18px;
	box-shadow: 0 8px 22px rgba( 104, 70, 43, 0.07 );
}

.panel-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	gap: 16px;
}

.panel-heading h2 {
	display: flex;
	align-items: center;
	margin: 0;
	gap: 8px;
	color: #67432c;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: 1.12rem;
}

.panel-heading h2 > span {
	color: var( --color-matcha );
	font-family: sans-serif;
}

.panel-heading > a,
.panel-heading__action {
	flex: 0 0 auto;
	color: var( --color-matcha-dark );
	font-size: 0.76rem;
	text-decoration: none;
}

.panel-heading__action {
	padding: 0;
	background: transparent;
	border: 0;
	font-family: inherit;
	cursor: pointer;
}

.record-grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 12px;
}

.record-card {
	min-width: 0;
	overflow: hidden;
	background: #fffdf9;
	border: 1px solid rgba( 139, 93, 58, 0.12 );
	border-radius: 12px;
	box-shadow: 0 3px 9px rgba( 111, 75, 48, 0.05 );
}

.record-card__image {
	display: block;
	aspect-ratio: 1.55;
	overflow: hidden;
	background: #f0e4d6;
}

.record-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 250ms ease;
}

.record-card:hover .record-card__image img {
	scale: 1.025;
}

.record-card__body {
	padding: 11px 12px 13px;
}

.record-card h3 {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.45;
}

.record-card h3 a {
	color: #5d3d2a;
	text-decoration: none;
}

.record-card time {
	display: block;
	margin-top: 2px;
	color: #b18d77;
	font-size: 0.66rem;
}

.record-card p {
	display: -webkit-box;
	min-height: 2.7em;
	margin: 7px 0;
	overflow: hidden;
	color: #816c5e;
	font-size: 0.72rem;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.record-card__body > div {
	display: flex;
	gap: 5px;
}

.record-card__body > div span {
	padding: 2px 8px;
	color: #a56e50;
	background: #fff0e8;
	border-radius: 999px;
	font-size: 0.62rem;
}

.photo-strip {
	display: grid;
	grid-template-columns: repeat( 5, minmax( 0, 1fr ) );
	gap: 8px;
}

.photo-strip img {
	width: 100%;
	aspect-ratio: 0.92;
	object-fit: cover;
	border-radius: 10px;
}

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

.milestone-list::before {
	position: absolute;
	top: 14px;
	bottom: 14px;
	left: 14px;
	width: 1px;
	background: #ecd6c6;
	content: "";
}

.milestone-list li {
	position: relative;
	display: grid;
	grid-template-columns: 28px minmax( 0, 1fr ) 12px;
	align-items: center;
	padding: 8px 0;
	gap: 9px;
}

.milestone-list__dot {
	z-index: 1;
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	color: #fff;
	background: #f58d91;
	border: 3px solid #fff;
	border-radius: 50%;
	font-size: 0.62rem;
}

.milestone-list li:nth-child( 2 ) .milestone-list__dot {
	background: #f3bb58;
}

.milestone-list li:nth-child( 3 ) .milestone-list__dot {
	background: #82c78d;
}

.milestone-list li:nth-child( 4 ) .milestone-list__dot {
	background: #a99be1;
}

.milestone-list li:nth-child( 5 ) .milestone-list__dot {
	background: #79b7e8;
}

.milestone-list div {
	display: flex;
	min-width: 0;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2px 10px;
}

.milestone-list a {
	min-width: 0;
	overflow: hidden;
	color: #62432f;
	font-size: 0.78rem;
	font-weight: 700;
	text-overflow: ellipsis;
	text-decoration: none;
	white-space: nowrap;
}

.milestone-list time {
	color: #ab9180;
	font-size: 0.61rem;
}

.milestone-list__arrow {
	color: #c68864;
}

.metric-grid {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 10px;
}

.metric-card {
	min-width: 0;
	padding: 13px;
	overflow: hidden;
	background: #f1f6ff;
	border: 1px solid #dfeafb;
	border-radius: 12px;
}

.metric-card--weight {
	background: #fff3f2;
	border-color: #f8dfdc;
}

.metric-card p,
.metric-card > span {
	margin: 0;
	color: #765d4c;
	font-size: 0.68rem;
}

.metric-card strong {
	display: block;
	color: #684632;
	font-family: Georgia, serif;
	font-size: 1.72rem;
	line-height: 1.25;
}

.metric-card strong small {
	margin-left: 2px;
	font-family: sans-serif;
	font-size: 0.65rem;
	font-weight: 500;
}

.metric-card svg {
	display: block;
	width: 100%;
	margin-top: 5px;
	overflow: visible;
}

.metric-card polyline {
	fill: none;
	stroke: #7ea9ee;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.metric-card circle {
	fill: #7ea9ee;
}

.metric-card--weight polyline {
	stroke: #f28b91;
}

.metric-card--weight circle {
	fill: #f28b91;
}

.message-panel {
	position: relative;
	padding-right: 56px;
	background: linear-gradient( 135deg, #fffdf9, #fff2e8 );
}

.message-panel__icon {
	position: absolute;
	top: 13px;
	right: 18px;
	margin: 0;
	color: #f4a0a4;
	font-size: 1.8rem;
}

.message-panel h2 {
	margin: 0 0 7px;
	color: #67432c;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: 1rem;
}

.message-panel > p:not( .message-panel__icon ) {
	margin: 0 0 12px;
	color: #8b7465;
	font-size: 0.72rem;
}

.message-panel time {
	color: #baa08e;
	font-size: 0.65rem;
}

.mobile-dock {
	display: none;
}

.home .site-footer {
	position: relative;
	padding-top: 58px;
	background: #f6ceb2;
	color: #745541;
}

.home .site-footer::before {
	position: absolute;
	top: -18px;
	right: 0;
	left: 0;
	height: 36px;
	background: #f6ceb2;
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
	content: "";
}

.home .site-footer__title,
.home .footer-menu a {
	color: #67432c;
}

.home .site-footer__bottom {
	border-color: rgba( 103, 67, 44, 0.14 );
}

@media ( max-width: 1100px ) {
	.growth-home__layout {
		grid-template-columns: minmax( 0, 1.75fr ) minmax( 270px, 0.85fr );
	}

	.record-grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 768px ) {
	.home {
		padding-bottom: 68px;
	}

	.home .site-shell {
		width: min( calc( 100% - 24px ), 1340px );
	}

	.site-header__inner {
		min-height: 64px;
	}

	.site-branding__mark,
	.custom-logo-link,
	.custom-logo {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.site-title {
		font-size: 1rem;
	}

	.site-header.has-js .primary-navigation {
		z-index: 10;
	}

	.primary-navigation .menu > li > a,
	.primary-navigation > div > ul > li > a {
		flex-direction: row;
		justify-content: flex-start;
		font-size: 0.9rem;
	}

	.primary-navigation .menu > li > a::before,
	.primary-navigation > div > ul > li > a::before {
		width: 24px;
		font-size: 1rem;
		text-align: center;
	}

	.site-profile {
		display: none;
	}

	.growth-home {
		padding-bottom: 18px;
	}

	.growth-hero {
		padding: 10px 0 12px;
	}

	.growth-hero__grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.growth-hero__photo {
		min-height: 0;
		aspect-ratio: 1.95;
		border-radius: 16px;
	}

	.growth-hero__photo img {
		object-position: center 36%;
	}

	.growth-hero__content {
		padding: 0;
		gap: 10px;
	}

	.baby-heading {
		text-align: center;
	}

	.baby-heading__eyebrow {
		display: none;
	}

	.baby-heading h1 {
		font-size: 1.65rem;
	}

	.baby-heading > p:last-child {
		margin-top: 0;
		font-size: 0.78rem;
	}

	.days-card {
		min-height: 98px;
		padding: 14px 20px;
		border-radius: 15px;
	}

	.days-card p {
		font-size: 0.75rem;
	}

	.days-card strong {
		font-size: 2.8rem;
	}

	.days-card__bear {
		width: 58px;
	}

	.growth-home__layout {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.growth-home__main,
	.growth-home__side {
		display: contents;
	}

	.records-panel {
		order: 1;
	}

	.milestone-panel {
		order: 2;
	}

	.data-panel {
		order: 3;
	}

	.gallery-panel {
		order: 4;
	}

	.message-panel {
		order: 5;
	}

	.dashboard-panel {
		padding: 12px;
		border-radius: 14px;
	}

	.panel-heading {
		margin-bottom: 9px;
	}

	.panel-heading h2 {
		font-size: 0.96rem;
	}

	.record-grid {
		display: flex;
		padding-bottom: 4px;
		overflow-x: auto;
		gap: 8px;
		scroll-snap-type: x proximity;
		scrollbar-width: thin;
	}

	.record-card {
		flex: 0 0 min( 68vw, 240px );
		scroll-snap-align: start;
	}

	.record-card__body {
		padding: 8px 9px 10px;
	}

	.record-card p {
		display: none;
	}

	.milestone-list li {
		padding-block: 7px;
	}

	.milestone-list a {
		font-size: 0.74rem;
	}

	.photo-strip {
		display: flex;
		overflow-x: auto;
		gap: 7px;
		scroll-snap-type: x proximity;
	}

	.photo-strip img {
		flex: 0 0 25%;
		min-width: 84px;
		scroll-snap-align: start;
	}

	.message-panel {
		display: none;
	}

	.mobile-dock {
		position: fixed;
		z-index: 110;
		right: 0;
		bottom: 0;
		left: 0;
		display: grid;
		grid-template-columns: repeat( 5, 1fr );
		padding: 7px max( 8px, env( safe-area-inset-right ) ) calc( 6px + env( safe-area-inset-bottom ) ) max( 8px, env( safe-area-inset-left ) );
		background: rgba( 255, 253, 249, 0.97 );
		border-top: 1px solid rgba( 135, 91, 58, 0.12 );
		box-shadow: 0 -5px 18px rgba( 95, 66, 43, 0.08 );
		backdrop-filter: blur( 10px );
	}

	.mobile-dock a {
		display: flex;
		min-width: 0;
		flex-direction: column;
		align-items: center;
		color: #7d604e;
		font-size: 0.58rem;
		line-height: 1.2;
		text-decoration: none;
	}

	.mobile-dock a span {
		font-size: 1.2rem;
	}

	.mobile-dock a.is-current {
		color: var( --color-matcha-dark );
	}

	.home .site-footer {
		padding-bottom: 82px;
	}
}

@media ( max-width: 430px ) {
	.growth-hero__photo {
		aspect-ratio: 1.82;
	}

	.days-card {
		padding-inline: 16px;
	}

	.metric-card {
		padding: 10px;
	}

	.metric-card strong {
		font-size: 1.5rem;
	}
}

/* Growth records archive page. */
.growth-records-view {
	background: #fbf3e8;
}

.growth-records-view .site-shell {
	width: min( calc( 100% - 48px ), 1340px );
}

.growth-records-view .site-header {
	background: rgba( 255, 253, 249, 0.97 );
	border-color: rgba( 133, 89, 56, 0.12 );
	box-shadow: 0 5px 24px rgba( 97, 67, 45, 0.05 );
}

.growth-records-view .site-title,
.growth-records-view .site-title a {
	color: #754522;
}

.growth-records-view .site-branding__mark {
	color: #f78e95;
	background: #fff0ed;
	border: 2px solid #ffb1af;
}

.growth-records-page {
	padding-bottom: 58px;
	background:
		radial-gradient( circle at 12% 8%, rgba( 255, 222, 191, 0.38 ), transparent 24% ),
		linear-gradient( 180deg, #fff8ee 0, #fbf3e8 100% );
}

.records-hero {
	padding: 22px 0 18px;
}

.records-hero__inner {
	display: grid;
	grid-template-columns: minmax( 360px, 0.85fr ) minmax( 480px, 1.15fr );
	min-height: 280px;
	overflow: hidden;
	background: #fff1de;
	border: 1px solid rgba( 150, 96, 57, 0.09 );
	border-radius: 24px;
	box-shadow: 0 12px 34px rgba( 104, 70, 43, 0.08 );
}

.records-hero__copy {
	z-index: 1;
	display: flex;
	min-width: 0;
	min-height: 0;
	padding: clamp( 34px, 5vw, 66px );
	flex-direction: column;
	justify-content: center;
	background:
		radial-gradient( circle at 18% 24%, rgba( 255, 194, 152, 0.25 ) 0 13px, transparent 14px ),
		radial-gradient( circle at 82% 68%, rgba( 255, 255, 255, 0.75 ) 0 34px, transparent 35px );
}

.records-hero__eyebrow {
	margin: 0 0 6px;
	color: #b77b54;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.17em;
}

.records-hero h1 {
	margin: 0;
	color: #6c4025;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: clamp( 2.5rem, 4.8vw, 4.6rem );
	line-height: 1.15;
}

.records-hero h1 span {
	color: #f48d93;
	font-family: sans-serif;
	font-size: 0.68em;
	font-weight: 400;
}

.records-hero__copy > p:last-child {
	max-width: 520px;
	margin: 16px 0 0;
	color: #8a6b58;
	font-size: 0.95rem;
}

.records-hero__image {
	position: relative;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	background: #e9d4bb;
}

.records-hero__image::before {
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	left: 0;
	width: 24%;
	background: linear-gradient( 90deg, #fff1de, transparent );
	content: "";
}

.records-hero__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 38%;
}

.records-layout {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) 260px;
	align-items: start;
	gap: 20px;
}

.records-main {
	min-width: 0;
	padding: 20px;
	background: rgba( 255, 255, 255, 0.74 );
	border: 1px solid rgba( 145, 95, 58, 0.1 );
	border-radius: 20px;
	box-shadow: 0 9px 26px rgba( 104, 70, 43, 0.06 );
}

.records-filter {
	display: flex;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 20px;
	gap: 18px;
}

.records-filter h2 {
	margin: 0 0 9px;
	color: #714b33;
	font-size: 0.82rem;
}

.records-filter__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.records-filter__tags a,
.records-tag-cloud a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 5px 14px;
	color: #725542;
	background: #fff;
	border: 1px solid #f0e4d7;
	border-radius: 999px;
	box-shadow: 0 3px 9px rgba( 102, 70, 46, 0.05 );
	font-size: 0.76rem;
	font-weight: 600;
	text-decoration: none;
}

.records-filter__tags a:hover,
.records-filter__tags a:focus-visible,
.records-filter__tags a.is-active {
	color: #fff;
	background: #f58c91;
	border-color: #f58c91;
}

.records-sort select {
	min-width: 124px;
	padding: 7px 34px 7px 14px;
	color: #765744;
	background: #fff;
	border: 1px solid #eee1d3;
	border-radius: 999px;
	box-shadow: 0 3px 9px rgba( 102, 70, 46, 0.05 );
	font-size: 0.75rem;
	cursor: pointer;
}

.records-grid {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 16px;
}

.growth-record-card {
	min-width: 0;
	overflow: hidden;
	background: #fffdf9;
	border: 1px solid rgba( 141, 94, 58, 0.12 );
	border-radius: 13px;
	box-shadow: 0 5px 15px rgba( 104, 70, 43, 0.07 );
	transition: translate 180ms ease, box-shadow 180ms ease;
}

.growth-record-card:hover {
	translate: 0 -3px;
	box-shadow: 0 10px 24px rgba( 104, 70, 43, 0.11 );
}

.growth-record-card__image {
	display: block;
	aspect-ratio: 1.3;
	overflow: hidden;
	background: #efe1d1;
}

.growth-record-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: scale 240ms ease;
}

.growth-record-card:hover .growth-record-card__image img {
	scale: 1.025;
}

.growth-record-card__body {
	padding: 13px 14px 15px;
}

.growth-record-card h2 {
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.45;
}

.growth-record-card h2 a {
	color: #60402d;
	text-decoration: none;
}

.growth-record-card time {
	display: block;
	margin-top: 3px;
	color: #af8f7b;
	font-size: 0.66rem;
}

.growth-record-card__tags {
	display: flex;
	min-height: 24px;
	margin-top: 8px;
	flex-wrap: wrap;
	gap: 5px;
}

.growth-record-card__tags span {
	padding: 2px 8px;
	color: #ad704d;
	background: #fff0e8;
	border-radius: 999px;
	font-size: 0.61rem;
}

.growth-record-card__tags span:nth-child( 2n ) {
	color: #56845e;
	background: #edf7ee;
}

.growth-record-card__tags span:nth-child( 3n ) {
	color: #657da2;
	background: #eef4fb;
}

.growth-record-card p {
	display: -webkit-box;
	min-height: 3em;
	margin: 8px 0 0;
	overflow: hidden;
	color: #7d6b60;
	font-size: 0.72rem;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.records-empty {
	grid-column: 1 / -1;
	padding: 64px 24px;
	color: #8f7868;
	text-align: center;
}

.records-empty > span {
	color: #f3a2a5;
	font-size: 2rem;
}

.records-empty h2,
.records-empty p {
	margin: 6px 0 0;
}

.records-pagination {
	display: flex;
	justify-content: center;
	margin-top: 26px;
	gap: 8px;
}

.records-pagination .page-numbers {
	display: inline-grid;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	place-items: center;
	color: #765744;
	background: #fff;
	border: 1px solid #eee1d3;
	border-radius: 50%;
	font-size: 0.78rem;
	text-decoration: none;
}

.records-pagination .page-numbers.current {
	color: #fff;
	background: #f58c91;
	border-color: #f58c91;
}

.records-sidebar {
	display: grid;
	min-width: 0;
	gap: 14px;
}

.records-side-card {
	padding: 16px;
	background: rgba( 255, 255, 255, 0.82 );
	border: 1px solid rgba( 145, 95, 58, 0.1 );
	border-radius: 15px;
	box-shadow: 0 7px 20px rgba( 104, 70, 43, 0.06 );
}

.records-side-card h2 {
	display: flex;
	align-items: center;
	margin: 0 0 11px;
	gap: 7px;
	color: #69452f;
	font-size: 0.86rem;
}

.records-side-card h2 span {
	color: #ef9a67;
}

.records-months,
.records-latest {
	padding: 0;
	margin: 0;
	list-style: none;
}

.records-months li + li {
	border-top: 1px solid #f2e8dc;
}

.records-months a {
	display: flex;
	padding: 8px 3px;
	align-items: center;
	justify-content: space-between;
	color: #785f50;
	font-size: 0.72rem;
	text-decoration: none;
}

.records-months a.is-active,
.records-months a:hover {
	color: #d66f75;
}

.records-months strong {
	font-size: 0.68rem;
}

.records-side-card__more {
	display: block;
	margin-top: 10px;
	color: #d47b49;
	font-size: 0.7rem;
	text-align: center;
	text-decoration: none;
}

.records-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.records-tag-cloud a {
	min-height: 27px;
	padding: 3px 10px;
	color: #b06b55;
	background: #fff2ed;
	box-shadow: none;
	font-size: 0.65rem;
}

.records-tag-cloud a:nth-child( 3n + 2 ) {
	color: #5e8866;
	background: #edf7ef;
}

.records-tag-cloud a:nth-child( 3n ) {
	color: #5f81a2;
	background: #edf4fb;
}

.records-latest {
	display: grid;
	gap: 9px;
}

.records-latest li {
	display: grid;
	grid-template-columns: 48px minmax( 0, 1fr );
	align-items: center;
	gap: 9px;
}

.records-latest li:not( :has( img ) ) {
	grid-template-columns: 1fr;
}

.records-latest img {
	width: 48px;
	height: 42px;
	object-fit: cover;
	border-radius: 7px;
}

.records-latest a {
	min-width: 0;
	color: #6a4c3a;
	text-decoration: none;
}

.records-latest strong,
.records-latest time {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.records-latest strong {
	font-size: 0.68rem;
}

.records-latest time {
	color: #b09887;
	font-size: 0.58rem;
}

.records-love-note {
	display: flex;
	min-height: 105px;
	padding: 16px;
	align-items: center;
	gap: 12px;
	color: #79503a;
	background: #ffe8cd;
	border-radius: 15px;
	font-family: "STKaiti", "KaiTi", serif;
}

.records-love-note__media {
	position: relative;
	display: block;
	width: 50px;
	height: 50px;
	flex: 0 0 50px;
}

.records-love-note__media i {
	position: absolute;
	top: -8px;
	right: -5px;
	color: #ef8d91;
	font-family: sans-serif;
	font-size: 1rem;
	font-style: normal;
}

@media ( max-width: 1120px ) {
	.records-grid {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 900px ) {
	.records-hero__inner {
		grid-template-columns: minmax( 0, 1fr ) minmax( 320px, 0.8fr );
	}

	.records-layout {
		grid-template-columns: 1fr;
	}

	.records-sidebar {
		display: none;
	}

	.records-grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 768px ) {
	.growth-records-view {
		padding-bottom: 68px;
	}

	.growth-records-view .site-shell {
		width: min( calc( 100% - 24px ), 1340px );
	}

	.records-hero {
		padding: 10px 0;
	}

	.records-hero__inner {
		grid-template-columns: minmax( 0, 1.1fr ) minmax( 138px, 0.9fr );
		min-height: 165px;
		border-radius: 16px;
	}

	.records-hero__copy {
		padding: 18px;
	}

	.records-hero__eyebrow {
		display: none;
	}

	.records-hero h1 {
		font-size: clamp( 1.7rem, 8vw, 2.3rem );
	}

	.records-hero__copy > p:last-child {
		margin-top: 7px;
		font-size: 0.68rem;
		line-height: 1.55;
	}

	.records-hero__image::before {
		width: 32%;
	}

	.records-main {
		padding: 12px;
		border-radius: 15px;
	}

	.records-filter {
		display: block;
		margin-bottom: 12px;
	}

	.records-filter__tags {
		padding-bottom: 5px;
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.records-filter__tags a {
		min-height: 30px;
		padding-inline: 13px;
		flex: 0 0 auto;
	}

	.records-sort {
		margin-top: 9px;
		text-align: right;
	}

	.records-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.growth-record-card {
		display: grid;
		grid-template-columns: 112px minmax( 0, 1fr );
		min-height: 112px;
	}

	.growth-record-card:hover {
		translate: none;
	}

	.growth-record-card__image {
		aspect-ratio: auto;
	}

	.growth-record-card__body {
		padding: 10px 12px;
	}

	.growth-record-card h2 {
		font-size: 0.84rem;
	}

	.growth-record-card__tags {
		margin-top: 5px;
	}

	.growth-record-card p {
		min-height: 0;
		margin-top: 5px;
		font-size: 0.66rem;
		-webkit-line-clamp: 1;
	}

	.records-pagination {
		margin-top: 18px;
	}

	.growth-records-view .site-footer {
		padding-bottom: 82px;
	}
}

@media ( max-width: 390px ) {
	.records-hero__inner {
		grid-template-columns: minmax( 0, 1.15fr ) minmax( 126px, 0.85fr );
	}

	.records-hero__copy {
		padding: 15px 13px;
	}

	.records-hero h1 {
		font-size: 1.65rem;
	}

	.growth-record-card {
		grid-template-columns: 102px minmax( 0, 1fr );
	}
}

/* Transparent, configurable interface icons. */
.ui-icon {
	display: inline-block;
	width: 1.15em;
	height: 1.15em;
	max-width: none;
	object-fit: contain;
	vertical-align: -0.18em;
	background: transparent;
}

.heading-icon {
	width: 0.72em;
	height: 0.72em;
}

.site-profile .ui-icon {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.panel-heading h2 > .ui-icon,
.growth-panel-heading h2 > .ui-icon,
.records-side-card h2 > .ui-icon {
	width: 1.25em;
	height: 1.25em;
	margin-right: 2px;
}

.panel-heading > a,
.panel-heading__action,
.records-side-card__more,
.about-contact > a {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.panel-heading > a .ui-icon,
.panel-heading__action .ui-icon,
.records-side-card__more .ui-icon,
.about-contact > a .ui-icon,
.milestone-list__arrow .ui-icon {
	width: 0.9em;
	height: 0.9em;
}

.milestone-list__dot .ui-icon,
.milestone-ring .ui-icon {
	width: 17px;
	height: 17px;
}

.message-panel__icon .ui-icon {
	width: 1em;
	height: 1em;
}

.mobile-dock a > .ui-icon {
	width: 21px;
	height: 21px;
	margin-bottom: 2px;
}

.growth-summary-card__icon .ui-icon {
	width: 26px;
	height: 26px;
}

.related-post-card__image > .ui-icon,
.records-empty > .ui-icon,
.album-empty > .ui-icon {
	width: 42px;
	height: 42px;
}

.album-lightbox button .ui-icon {
	width: 24px;
	height: 24px;
}

/* Customizable site color scheme. */
body,
.home,
.growth-records-view,
.baby-album-view,
.baby-growth-data-view,
.baby-about-view {
	background: var( --background );
	color: var( --text-primary );
}

.growth-home,
.growth-records-page,
.baby-album-page,
.growth-data-page,
.baby-about-page {
	background:
		radial-gradient( circle at 12% 8%, var( --primary-light ), transparent 25% ),
		linear-gradient( 180deg, var( --background ), var( --cream ) );
}

.site-header,
.growth-records-view .site-header,
.baby-album-view .site-header,
.baby-growth-data-view .site-header,
.baby-about-view .site-header {
	background: var( --surface );
	border-color: var( --border );
}

.site-branding__mark,
.growth-records-view .site-branding__mark,
.baby-album-view .site-branding__mark,
.baby-growth-data-view .site-branding__mark,
.baby-about-view .site-branding__mark {
	color: var( --text-primary );
	background: var( --primary-light );
	border-color: var( --primary );
}

.site-title,
.site-title a,
.growth-records-view .site-title a,
.baby-album-view .site-title a,
.baby-growth-data-view .site-title a,
.baby-about-view .site-title a,
.primary-navigation a {
	color: var( --text-primary );
}

.site-description,
.baby-heading > p:last-child,
.records-hero__copy > p:last-child,
.album-hero__copy > div,
.growth-data-hero__copy > div,
.about-hero__copy > div,
.record-card p,
.growth-record-card p,
.about-member p,
.about-mission__grid p,
.about-contact p {
	color: var( --text-secondary );
}

.primary-navigation .menu > li > a::before,
.primary-navigation > div > ul > li > a::before,
.panel-heading h2 > span,
.record-card__body > div span,
.about-hero h1 span,
.about-content h2 > span,
.about-member h2 span,
.records-hero h1 span,
.album-hero h1 span,
.growth-data-hero h1 span {
	color: var( --primary );
}

.hero-section,
.growth-hero__grid,
.records-hero__inner,
.album-hero__inner,
.growth-data-hero,
.about-hero {
	background: var( --cream );
	border-color: var( --border );
}

.records-hero__copy,
.album-hero__copy,
.about-hero__copy {
	background:
		radial-gradient( circle at 18% 24%, var( --primary-light ) 0 13px, transparent 14px ),
		radial-gradient( circle at 82% 68%, var( --surface ) 0 34px, transparent 35px );
}

.records-hero__image,
.album-hero__image,
.about-hero__image,
.growth-hero__photo {
	background: var( --cream );
}

.records-hero__image::before,
.album-hero__image::before,
.about-hero__image::before {
	background: linear-gradient( 90deg, var( --cream ), transparent );
}

.baby-heading h1,
.records-hero h1,
.album-hero h1,
.growth-data-hero h1,
.about-hero h1,
.panel-heading h2,
.record-card h3 a,
.growth-record-card h2 a,
.records-side-card h2,
.album-month h2,
.growth-summary-card h2,
.growth-panel-heading h2,
.about-family h2,
.about-member h2,
.about-mission__grid h3,
.about-contact h2 {
	color: var( --text-primary );
}

.baby-heading__eyebrow,
.records-hero__eyebrow,
.album-hero__copy > p,
.growth-data-hero__copy > p,
.about-hero__copy > p,
.record-card time,
.growth-record-card time,
.records-latest time,
.album-month small,
.growth-summary-card p,
.about-mission > header p,
.about-story__timeline time {
	color: var( --text-secondary );
}

.site-profile,
.dashboard-panel,
.record-card,
.metric-card,
.message-panel,
.records-main,
.records-side-card,
.growth-record-card,
.album-browser,
.album-month,
.growth-summary-card,
.growth-records-panel,
.about-family,
.about-member,
.about-mission__grid article,
.about-story,
.about-contact {
	background: var( --surface );
	border-color: var( --border );
}

.days-card,
.records-love-note,
.album-end {
	background: var( --cream );
	border-color: var( --border );
}

.metric-card,
.growth-summary-card,
.about-mission__grid article:nth-child( 4 ) {
	background: var( --primary-light );
}

.metric-card--weight,
.about-mission__grid article:nth-child( 2 ) {
	background: var( --pink );
}

.growth-summary-card--weight,
.about-mission__grid article:nth-child( 3 ) {
	background: var( --blue );
}

.growth-summary-card--head {
	background: var( --yellow );
}

.growth-summary-card--age {
	background: var( --peach );
}

.records-filter__tags a,
.records-tag-cloud a,
.growth-record-card__tags span,
.records-pagination .page-numbers,
.album-view-switch,
.growth-periods,
.growth-chart-legend button {
	color: var( --text-secondary );
	background: var( --cream );
	border-color: var( --border );
}

.records-filter__tags a.is-active,
.records-pagination .page-numbers.current,
.album-view-switch button.is-active,
.growth-periods button.is-active,
.about-contact > a {
	color: var( --text-primary );
	background: var( --primary );
	border-color: var( --primary );
}

.birthday-field,
.birthday-field input,
.records-sort select,
.album-toolbar select,
.growth-data-table th,
.growth-data-table td {
	color: var( --text-primary );
	background: var( --surface );
	border-color: var( --border );
}

.milestone-list__dot,
.growth-chart-point,
.about-story__timeline .milestone-ring {
	color: var( --text-primary );
	background: var( --milestone-ring-color, var( --primary ) );
	border-color: var( --surface );
}

.milestone-list li:nth-child( 2 ) .milestone-list__dot {
	background: var( --pink );
}

.milestone-list li:nth-child( 3 ) .milestone-list__dot {
	background: var( --yellow );
}

.milestone-list li:nth-child( 4 ) .milestone-list__dot {
	background: var( --blue );
}

.milestone-list li:nth-child( 5 ) .milestone-list__dot {
	background: var( --peach );
}

.site-footer,
.home .site-footer {
	color: var( --surface );
	background: var( --text-primary );
}

.site-footer__title,
.footer-menu a,
.site-footer__public-security:hover,
.site-footer__public-security:focus-visible {
	color: var( --surface );
}

/* Baby album page. */
.baby-album-view {
	background: #fbf3e8;
}

.baby-album-view .site-shell {
	width: min( calc( 100% - 48px ), 1340px );
}

.baby-album-view .site-header {
	background: rgba( 255, 253, 249, 0.97 );
	border-color: rgba( 133, 89, 56, 0.12 );
	box-shadow: 0 5px 24px rgba( 97, 67, 45, 0.05 );
}

.baby-album-view .site-title,
.baby-album-view .site-title a {
	color: #754522;
}

.baby-album-view .site-branding__mark {
	color: #f78e95;
	background: #fff0ed;
	border: 2px solid #ffb1af;
}

.baby-album-page {
	padding-bottom: 60px;
	background:
		radial-gradient( circle at 88% 7%, rgba( 255, 210, 180, 0.32 ), transparent 24% ),
		linear-gradient( 180deg, #fff8ee, #fbf3e8 );
}

.album-hero {
	padding: 22px 0 0;
}

.album-hero__inner {
	display: grid;
	grid-template-columns: minmax( 380px, 0.9fr ) minmax( 500px, 1.1fr );
	height: 280px;
	overflow: hidden;
	background: #fff0dc;
	border: 1px solid rgba( 150, 96, 57, 0.09 );
	border-radius: 24px 24px 0 0;
	box-shadow: 0 10px 30px rgba( 104, 70, 43, 0.08 );
}

.album-hero__copy {
	z-index: 1;
	display: flex;
	min-width: 0;
	min-height: 0;
	padding: clamp( 34px, 5vw, 68px );
	flex-direction: column;
	justify-content: center;
	background:
		radial-gradient( circle at 20% 24%, rgba( 255, 202, 166, 0.34 ) 0 13px, transparent 14px ),
		radial-gradient( circle at 84% 70%, rgba( 255, 255, 255, 0.68 ) 0 38px, transparent 39px );
}

.album-hero__copy > p {
	margin: 0 0 5px;
	color: #bb7e55;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.album-hero h1 {
	margin: 0;
	color: #6b4025;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: clamp( 2.7rem, 4.8vw, 4.8rem );
	line-height: 1.1;
}

.album-hero h1 span {
	color: #f38c93;
	font-family: sans-serif;
	font-size: 0.65em;
	font-weight: 400;
}

.album-hero__copy > div {
	margin-top: 14px;
	color: #886955;
	font-size: 0.94rem;
}

.album-hero__image {
	position: relative;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	background: #ead7c2;
}

.album-hero__image::before {
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	left: 0;
	width: 25%;
	background: linear-gradient( 90deg, #fff0dc, transparent );
	content: "";
}

.album-hero__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 38%;
}

.album-browser {
	padding: 20px clamp( 20px, 4vw, 56px ) 34px;
	background: rgba( 255, 255, 255, 0.78 );
	border: 1px solid rgba( 145, 95, 58, 0.1 );
	border-top: 0;
	border-radius: 0 0 24px 24px;
	box-shadow: 0 10px 30px rgba( 104, 70, 43, 0.07 );
}

.album-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 26px;
	gap: 18px;
}

.album-toolbar select {
	min-width: 145px;
	padding: 8px 35px 8px 14px;
	color: #755744;
	background: #fff;
	border: 1px solid #eadbcd;
	border-radius: 9px;
	font-size: 0.75rem;
}

.album-view-switch {
	display: flex;
	padding: 3px;
	background: #f8eee3;
	border: 1px solid #edddcf;
	border-radius: 10px;
}

.album-view-switch button {
	padding: 6px 13px;
	color: #82634f;
	background: transparent;
	border: 0;
	border-radius: 7px;
	font-size: 0.72rem;
	cursor: pointer;
}

.album-view-switch button span {
	margin-right: 6px;
	color: #dd7d49;
}

.album-view-switch button.is-active {
	background: #fff;
	box-shadow: 0 2px 8px rgba( 104, 70, 43, 0.08 );
}

.album-months {
	position: relative;
	display: grid;
	gap: 28px;
}

.album-months::before {
	position: absolute;
	top: 20px;
	bottom: 20px;
	left: 10px;
	width: 1px;
	background: #f2cbbd;
	content: "";
}

.album-month {
	position: relative;
	padding-left: 42px;
}

.album-month__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	gap: 12px;
}

.album-month__header > div {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.album-month__header > div > span {
	position: absolute;
	left: 0;
	display: grid;
	width: 21px;
	height: 21px;
	place-items: center;
	color: #fff;
	background: #f19499;
	border-radius: 50%;
	font-size: 0.58rem;
	box-shadow: 0 0 0 4px #fff7ef;
}

.album-month h2 {
	margin: 0;
	color: #68432c;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: 1.18rem;
}

.album-month small {
	color: #9c8474;
	font-size: 0.67rem;
}

.album-month__toggle {
	display: none;
	padding: 4px 7px;
	color: #99634a;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.album-month__description {
	margin: -5px 0 12px;
	color: #9b8272;
	font-size: 0.72rem;
}

.album-photo-grid {
	display: grid;
	grid-template-columns: repeat( 6, minmax( 0, 1fr ) );
	gap: 11px;
}

.album-photo {
	position: relative;
	padding: 0;
	overflow: hidden;
	aspect-ratio: 1.18;
	background: #efe2d5;
	border: 0;
	border-radius: 10px;
	cursor: zoom-in;
	box-shadow: 0 3px 10px rgba( 99, 67, 44, 0.07 );
}

.album-photo::after {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #fff;
	background: rgba( 79, 53, 37, 0.2 );
	content: "＋";
	font-size: 1.4rem;
	opacity: 0;
	transition: opacity 180ms ease;
}

.album-photo:hover::after,
.album-photo:focus-visible::after {
	opacity: 1;
}

.album-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: scale 220ms ease;
}

.album-photo:hover img {
	scale: 1.035;
}

.album-timeline {
	display: none;
}

.baby-album-page[data-view="timeline"] .album-months {
	display: none;
}

.baby-album-page[data-view="timeline"] .album-timeline {
	display: grid;
	gap: 24px;
}

.album-timeline__day {
	position: relative;
	display: grid;
	grid-template-columns: 142px minmax( 0, 1fr );
	gap: 24px;
}

.album-timeline__day:not( :last-child )::before {
	position: absolute;
	top: 18px;
	bottom: -42px;
	left: 7px;
	border-left: 2px dashed #e8bcae;
	content: "";
}

.album-timeline__date {
	position: relative;
	display: flex;
	min-width: 0;
	padding: 1px 0 0 27px;
	flex-direction: column;
	gap: 3px;
}

.album-timeline__dot {
	position: absolute;
	top: 4px;
	left: 0;
	width: 16px;
	height: 16px;
	background: #f19499;
	border: 4px solid #fff7ef;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #efb9ae;
}

.album-timeline__date time {
	color: #68432c;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}

.album-timeline__date small {
	color: #9c8474;
	font-size: 0.67rem;
}

.album-timeline__photos {
	display: flex;
	min-width: 0;
	padding: 2px 2px 10px;
	flex-wrap: wrap;
	gap: 12px;
}

.album-timeline__photo {
	width: clamp( 150px, 17vw, 210px );
	min-width: clamp( 150px, 17vw, 210px );
	aspect-ratio: 1.42;
}

.album-month__empty {
	grid-column: 1 / -1;
	margin: 0;
	color: #a38c7d;
	font-size: 0.76rem;
}

.album-empty {
	padding: 74px 24px;
	color: #8d7768;
	text-align: center;
}

.album-empty > span {
	color: #f09ba0;
	font-size: 2.2rem;
}

.album-empty h2,
.album-empty p {
	margin: 6px 0 0;
}

.album-end {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 34px 0 0;
	gap: 12px;
	color: #8f725f;
	font-size: 0.78rem;
}

.album-end span {
	color: #f3a3a6;
}

.album-lightbox[hidden] {
	display: none;
}

.album-lightbox {
	position: fixed;
	z-index: 1000;
	inset: 0;
	display: grid;
	padding: 30px;
	place-items: center;
	background: rgba( 45, 33, 26, 0.72 );
	backdrop-filter: blur( 5px );
}

.album-lightbox__panel {
	width: min( 900px, 94vw );
	overflow: hidden;
	background: #332b27;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba( 0, 0, 0, 0.35 );
}

.album-lightbox__top {
	display: flex;
	height: 42px;
	padding: 0 13px;
	align-items: center;
	justify-content: space-between;
	color: #fff;
	font-size: 0.75rem;
}

.album-lightbox__close,
.album-lightbox__previous,
.album-lightbox__next {
	display: grid;
	place-items: center;
	color: #fff;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.album-lightbox__close {
	width: 34px;
	height: 34px;
	font-size: 1.7rem;
}

.album-lightbox__stage {
	position: relative;
	display: grid;
	min-height: min( 68vh, 650px );
	place-items: center;
	background: #171412;
}

.album-lightbox__image {
	max-width: 100%;
	max-height: min( 68vh, 650px );
	object-fit: contain;
}

.album-lightbox__previous,
.album-lightbox__next {
	position: absolute;
	z-index: 2;
	top: 50%;
	width: 42px;
	height: 42px;
	background: rgba( 255, 255, 255, 0.82 );
	border-radius: 50%;
	color: #704d38;
	font-size: 2rem;
	translate: 0 -50%;
}

.album-lightbox__previous {
	left: 14px;
}

.album-lightbox__next {
	right: 14px;
}

.album-lightbox__caption {
	min-height: 46px;
	margin: 0;
	padding: 11px 16px;
	color: #f7eee7;
	font-size: 0.75rem;
}

body.album-lightbox-open {
	overflow: hidden;
}

@media ( max-width: 1100px ) {
	.album-photo-grid {
		grid-template-columns: repeat( 5, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 768px ) {
	.baby-album-view {
		padding-bottom: 68px;
	}

	.baby-album-view .site-shell {
		width: min( calc( 100% - 24px ), 1340px );
	}

	.album-hero {
		padding-top: 10px;
	}

	.album-hero__inner {
		grid-template-columns: minmax( 0, 1.1fr ) minmax( 140px, 0.9fr );
		height: 166px;
		border-radius: 16px 16px 0 0;
	}

	.album-hero__copy {
		padding: 18px;
	}

	.album-hero__copy > p {
		display: none;
	}

	.album-hero h1 {
		font-size: clamp( 1.7rem, 8vw, 2.3rem );
	}

	.album-hero__copy > div {
		display: -webkit-box;
		margin-top: 7px;
		overflow: hidden;
		font-size: 0.67rem;
		line-height: 1.55;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}

	.album-browser {
		padding: 12px;
		border-radius: 0 0 16px 16px;
	}

	.album-toolbar {
		display: block;
		margin-bottom: 12px;
	}

	.album-toolbar select {
		width: 100%;
	}

	.album-view-switch {
		display: flex;
		width: 100%;
		margin-top: 8px;
	}

	.album-view-switch button {
		flex: 1;
	}

	.album-months {
		gap: 10px;
	}

	.album-months::before {
		display: none;
	}

	.album-month {
		padding: 12px;
		background: #fffdf9;
		border: 1px solid #f0e2d5;
		border-radius: 12px;
		box-shadow: 0 4px 12px rgba( 104, 70, 43, 0.06 );
	}

	.album-month__header {
		margin-bottom: 9px;
	}

	.album-month__header > div > span {
		position: static;
		width: auto;
		height: auto;
		color: #f18f95;
		background: transparent;
		box-shadow: none;
		font-size: 0.75rem;
	}

	.album-month h2 {
		font-size: 0.95rem;
	}

	.album-month__toggle {
		display: block;
	}

	.album-month.is-collapsed .album-photo-grid,
	.album-month.is-collapsed .album-month__description {
		display: none;
	}

	.album-month.is-collapsed .album-month__toggle {
		rotate: 180deg;
	}

	.album-photo-grid {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
		gap: 7px;
	}

	.album-photo {
		aspect-ratio: 1;
		border-radius: 8px;
	}

	.album-timeline__day {
		grid-template-columns: 88px minmax( 0, 1fr );
		gap: 10px;
	}

	.album-timeline__day:not( :last-child )::before {
		bottom: -28px;
	}

	.album-timeline__date {
		padding-left: 22px;
	}

	.album-timeline__dot {
		top: 3px;
		width: 14px;
		height: 14px;
		border-width: 3px;
	}

	.album-timeline__date time {
		font-size: 0.78rem;
		line-height: 1.45;
	}

	.album-timeline__photo {
		width: 118px;
		min-width: 118px;
		aspect-ratio: 1.18;
	}

	.album-photo::after {
		display: none;
	}

	.album-end {
		margin-top: 20px;
		font-size: 0.7rem;
	}

	.album-lightbox {
		padding: 10px;
	}

	.album-lightbox__panel {
		width: 100%;
	}

	.album-lightbox__stage {
		min-height: 54vh;
	}

	.album-lightbox__image {
		max-height: 64vh;
	}

	.baby-album-view .site-footer {
		padding-bottom: 82px;
	}
}

@media ( max-width: 390px ) {
	.album-hero__inner {
		grid-template-columns: minmax( 0, 1.15fr ) minmax( 126px, 0.85fr );
	}

	.album-hero__copy {
		padding: 15px 13px;
	}

	.album-hero h1 {
		font-size: 1.65rem;
	}
}

/* Growth data dashboard page. */
.baby-growth-data-view {
	background: #fbf3e8;
}

.baby-growth-data-view .site-shell {
	width: min( calc( 100% - 48px ), 1340px );
}

.baby-growth-data-view .site-header {
	background: rgba( 255, 253, 249, 0.97 );
	border-color: rgba( 133, 89, 56, 0.12 );
	box-shadow: 0 5px 24px rgba( 97, 67, 45, 0.05 );
}

.baby-growth-data-view .site-title,
.baby-growth-data-view .site-title a {
	color: #754522;
}

.baby-growth-data-view .site-branding__mark {
	color: #f78e95;
	background: #fff0ed;
	border: 2px solid #ffb1af;
}

.growth-data-page {
	padding-bottom: 58px;
	background:
		radial-gradient( circle at 13% 7%, rgba( 255, 220, 184, 0.3 ), transparent 22% ),
		linear-gradient( 180deg, #fff8ee, #fbf3e8 );
}

.growth-data-hero {
	padding: 20px 0 16px;
}

.growth-data-hero__inner {
	position: relative;
	display: grid;
	height: 156px;
	place-items: center;
	overflow: hidden;
	background: rgba( 255, 242, 224, 0.78 );
	border: 1px solid rgba( 149, 97, 58, 0.08 );
	border-radius: 22px;
}

.growth-data-hero__copy {
	z-index: 2;
	text-align: center;
}

.growth-data-hero__copy > p {
	margin: 0 0 3px;
	color: #b67a52;
	font-size: 0.67rem;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.growth-data-hero h1 {
	margin: 0;
	color: #684027;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: clamp( 2.3rem, 4vw, 3.7rem );
	line-height: 1.1;
}

.growth-data-hero h1 span {
	color: #f18b92;
	font-family: sans-serif;
	font-size: 0.7em;
	font-weight: 400;
}

.growth-data-hero__copy > div {
	margin-top: 7px;
	color: #8c6e5b;
	font-size: 0.84rem;
}

.growth-data-hero__cloud {
	position: absolute;
	left: 9%;
	width: 90px;
	height: 28px;
	background: rgba( 255, 255, 255, 0.68 );
	border-radius: 999px;
}

.growth-data-hero__cloud::before,
.growth-data-hero__cloud::after {
	position: absolute;
	bottom: 0;
	background: inherit;
	border-radius: 50%;
	content: "";
}

.growth-data-hero__cloud::before {
	left: 16px;
	width: 42px;
	height: 42px;
}

.growth-data-hero__cloud::after {
	right: 12px;
	width: 32px;
	height: 32px;
}

.growth-data-hero__bear {
	position: absolute;
	right: 8%;
	bottom: 20px;
	width: 72px;
	height: 72px;
}

.growth-data-hero__bear span {
	position: absolute;
	top: -38px;
	right: 0;
	display: grid;
	width: 27px;
	height: 35px;
	place-items: center;
	color: #ef8d91;
	background: #ffc4bd;
	border: 2px solid #ef8d91;
	border-radius: 50%;
	font-size: 0;
}

.growth-data-dashboard {
	display: grid;
	min-width: 0;
	gap: 18px;
}

.growth-summary {
	display: grid;
	min-width: 0;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 14px;
}

.growth-summary-card,
.growth-chart-panel,
.growth-records-panel {
	min-width: 0;
	background: rgba( 255, 255, 255, 0.82 );
	border: 1px solid rgba( 144, 95, 58, 0.1 );
	border-radius: 16px;
	box-shadow: 0 7px 20px rgba( 104, 70, 43, 0.065 );
}

.growth-summary-card {
	position: relative;
	display: grid;
	grid-template-columns: 48px minmax( 0, 1fr );
	min-height: 150px;
	padding: 18px;
	align-items: start;
	gap: 11px;
	overflow: hidden;
}

.growth-summary-card__icon {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	color: #f17f86;
	background: #ffe9e8;
	border-radius: 50%;
	font-size: 1.25rem;
}

.growth-summary-card--weight .growth-summary-card__icon {
	color: #e69b35;
	background: #fff0d7;
}

.growth-summary-card--head .growth-summary-card__icon {
	color: #65aa73;
	background: #e7f4e7;
}

.growth-summary-card--age .growth-summary-card__icon {
	color: #9476c0;
	background: #efe8fa;
}

.growth-summary-card h2 {
	margin: 0;
	color: #755746;
	font-size: 0.75rem;
}

.growth-summary-card strong {
	display: block;
	margin-top: 3px;
	color: #553827;
	font-family: Georgia, serif;
	font-size: 1.8rem;
	line-height: 1.25;
}

.growth-summary-card--age strong {
	font-family: inherit;
	font-size: 1.25rem;
}

.growth-summary-card strong small {
	margin-left: 4px;
	font-family: sans-serif;
	font-size: 0.68rem;
	font-weight: 500;
}

.growth-summary-card p {
	margin: 2px 0 0;
	color: #9b8475;
	font-size: 0.65rem;
}

.growth-sparkline {
	position: absolute;
	right: 15px;
	bottom: 10px;
	left: 65px;
	width: calc( 100% - 80px );
	height: 34px;
	opacity: 0.9;
}

.growth-chart-panel,
.growth-records-panel {
	padding: 17px 20px 20px;
}

.growth-panel-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	gap: 16px;
}

.growth-panel-heading h2 {
	display: flex;
	align-items: center;
	margin: 0;
	gap: 8px;
	color: #65422e;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: 1.15rem;
}

.growth-panel-heading h2 span {
	color: #ef8b5d;
	font-family: sans-serif;
}

.growth-periods {
	display: flex;
	gap: 7px;
}

.growth-periods button {
	min-width: 47px;
	padding: 5px 11px;
	color: #775a48;
	background: #faf6f0;
	border: 1px solid #eee2d6;
	border-radius: 8px;
	font-size: 0.7rem;
	cursor: pointer;
}

.growth-periods button.is-active {
	color: #c7633e;
	background: #fff;
	border-color: #e68d68;
}

.growth-chart-legend {
	display: flex;
	justify-content: center;
	gap: 28px;
}

.growth-chart-legend button {
	display: inline-flex;
	align-items: center;
	padding: 3px;
	gap: 6px;
	color: #776254;
	background: transparent;
	border: 0;
	font-size: 0.68rem;
	cursor: pointer;
	opacity: 0.45;
}

.growth-chart-legend button.is-active {
	opacity: 1;
}

.growth-chart-legend span {
	width: 14px;
	height: 14px;
	background: #f27f86;
	border-radius: 4px;
}

.growth-chart-legend button:nth-child( 2 ) span {
	background: #f2a13b;
}

.growth-chart-legend button:nth-child( 3 ) span {
	background: #65b87b;
}

.growth-trend-chart {
	min-height: 320px;
	margin-top: 4px;
}

.growth-trend-chart svg {
	width: 100%;
	height: auto;
}

.growth-chart-gridline {
	stroke: #eee6df;
	stroke-width: 1;
}

.growth-chart-axis {
	fill: #9a877a;
	font-family: sans-serif;
	font-size: 10px;
}

.growth-chart-point {
	stroke: #fff;
	stroke-width: 2;
}

.growth-chart-empty {
	display: grid;
	min-height: 290px;
	margin: 0;
	place-items: center;
	color: #9b8779;
}

.growth-table-wrap {
	overflow-x: auto;
	border: 1px solid #efdcca;
	border-radius: 11px;
}

.growth-data-table {
	width: 100%;
	border-collapse: collapse;
	color: #705949;
	font-size: 0.72rem;
	text-align: center;
}

.growth-data-table th {
	padding: 9px 12px;
	background: #fff0de;
	color: #6c4d3b;
	font-weight: 700;
}

.growth-data-table td {
	padding: 8px 12px;
	background: rgba( 255, 253, 249, 0.72 );
	border-top: 1px solid #f0e4d9;
}

.growth-data-table th + th,
.growth-data-table td + td {
	border-left: 1px solid #f0e4d9;
}

.growth-records-more {
	display: flex;
	width: 100%;
	margin-top: 10px;
	padding: 8px;
	align-items: center;
	justify-content: center;
	gap: 4px;
	color: #855a41;
	background: #fffaf4;
	border: 1px solid #eedfd2;
	border-radius: 9px;
	font-size: 0.72rem;
	cursor: pointer;
}

.growth-records-more::after {
	display: block;
	width: 14px;
	height: 14px;
	background: var( --ui-icon-chevron-right ) center / contain no-repeat;
	content: "";
	transition: rotate 180ms ease;
}

.growth-records-more[aria-expanded="true"]::after {
	rotate: -90deg;
}

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

@media ( max-width: 768px ) {
	.baby-growth-data-view {
		padding-bottom: 68px;
	}

	.baby-growth-data-view .site-shell {
		width: min( calc( 100% - 24px ), 1340px );
	}

	.growth-data-hero {
		padding: 10px 0;
	}

	.growth-data-hero__inner {
		height: 114px;
		padding-right: 86px;
		place-items: center start;
		border-radius: 16px;
	}

	.growth-data-hero__copy {
		padding-left: 16px;
		text-align: left;
	}

	.growth-data-hero__copy > p,
	.growth-data-hero__cloud {
		display: none;
	}

	.growth-data-hero h1 {
		font-size: 1.7rem;
	}

	.growth-data-hero__copy > div {
		margin-top: 3px;
		font-size: 0.68rem;
	}

	.growth-data-hero__bear {
		right: 20px;
		bottom: 30px;
		width: 56px;
		height: 56px;
	}

	.growth-data-dashboard {
		gap: 10px;
	}

	.growth-summary {
		gap: 8px;
	}

	.growth-summary-card {
		grid-template-columns: 36px minmax( 0, 1fr );
		min-height: 138px;
		padding: 12px 10px;
		gap: 7px;
		border-radius: 12px;
	}

	.growth-summary-card__icon {
		width: 34px;
		height: 34px;
		font-size: 1rem;
	}

	.growth-summary-card h2 {
		font-size: 0.64rem;
	}

	.growth-summary-card strong {
		font-size: 1.35rem;
	}

	.growth-summary-card--age strong {
		font-size: 0.92rem;
	}

	.growth-summary-card p {
		font-size: 0.56rem;
	}

	.growth-sparkline {
		right: 9px;
		bottom: 8px;
		left: 44px;
		width: calc( 100% - 53px );
	}

	.growth-chart-panel,
	.growth-records-panel {
		padding: 12px 9px;
		border-radius: 13px;
	}

	.growth-panel-heading {
		margin-bottom: 8px;
	}

	.growth-panel-heading h2 {
		font-size: 0.94rem;
	}

	.growth-periods {
		gap: 4px;
	}

	.growth-periods button {
		min-width: 32px;
		padding: 3px 7px;
		font-size: 0.62rem;
	}

	.growth-chart-legend {
		justify-content: flex-start;
		gap: 10px;
	}

	.growth-chart-legend button {
		font-size: 0.57rem;
	}

	.growth-trend-chart {
		min-height: 0;
		overflow-x: auto;
	}

	.growth-trend-chart svg {
		min-width: 620px;
	}

	.growth-data-table {
		font-size: 0.61rem;
	}

	.growth-data-table th,
	.growth-data-table td {
		padding: 7px 5px;
		white-space: nowrap;
	}

	.growth-table-source,
	.growth-table-note {
		display: none;
	}

	.baby-growth-data-view .site-footer {
		padding-bottom: 82px;
	}
}

@media ( max-width: 390px ) {
	.growth-summary-card {
		min-height: 130px;
	}

	.growth-chart-legend span {
		width: 12px;
		height: 12px;
	}
}

/* About our family page. */
.baby-about-view {
	background: #fbf3e8;
}

.baby-about-view .site-shell {
	width: min( calc( 100% - 48px ), 1340px );
}

.baby-about-view .site-header {
	background: rgba( 255, 253, 249, 0.97 );
	border-color: rgba( 133, 89, 56, 0.12 );
	box-shadow: 0 5px 24px rgba( 97, 67, 45, 0.05 );
}

.baby-about-view .site-title,
.baby-about-view .site-title a {
	color: #754522;
}

.baby-about-view .site-branding__mark {
	color: #f78e95;
	background: #fff0ed;
	border: 2px solid #ffb1af;
}

.baby-about-page {
	padding: 20px 0 58px;
	background:
		radial-gradient( circle at 10% 7%, rgba( 255, 221, 190, 0.35 ), transparent 22% ),
		linear-gradient( 180deg, #fff8ee, #fbf3e8 );
}

.about-hero {
	display: grid;
	grid-template-columns: minmax( 360px, 0.85fr ) minmax( 480px, 1.15fr );
	min-height: 280px;
	overflow: hidden;
	background: #fff1de;
	border: 1px solid rgba( 150, 96, 57, 0.09 );
	border-radius: 24px;
	box-shadow: 0 12px 34px rgba( 104, 70, 43, 0.08 );
}

.about-hero__copy {
	position: relative;
	z-index: 1;
	display: flex;
	min-width: 0;
	min-height: 0;
	padding: clamp( 34px, 5vw, 66px );
	flex-direction: column;
	justify-content: center;
	background:
		radial-gradient( circle at 18% 24%, rgba( 255, 194, 152, 0.25 ) 0 13px, transparent 14px ),
		radial-gradient( circle at 82% 68%, rgba( 255, 255, 255, 0.75 ) 0 34px, transparent 35px );
}

.about-hero__copy > p {
	margin: 0 0 5px;
	color: #b77b54;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.17em;
}

.about-hero h1 {
	margin: 0;
	color: #6c4025;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: clamp( 2.5rem, 4.8vw, 4.6rem );
	line-height: 1.15;
}

.about-hero h1 span,
.about-content h2 > span {
	color: #f18b92;
	font-family: sans-serif;
	font-weight: 400;
}

.about-hero__copy > div {
	max-width: 520px;
	margin-top: 16px;
	color: #8a6b58;
	font-size: 0.95rem;
}

.about-hero__bear {
	position: absolute;
	bottom: 18px;
	left: 42px;
	width: 58px;
	height: 58px;
}

.about-hero__bear i {
	position: absolute;
	top: -7px;
	right: -6px;
	color: #f18b92;
	font-family: sans-serif;
	font-size: 1rem;
	font-style: normal;
}

.about-hero__image {
	position: relative;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	background: #e9d4bb;
}

.about-hero__image::before {
	position: absolute;
	z-index: 1;
	inset: 0 auto 0 0;
	width: 24%;
	background: linear-gradient( 90deg, #fff1de, transparent );
	content: "";
}

.about-hero__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 38%;
}

.about-content {
	display: grid;
	padding-top: 20px;
	gap: 20px;
}

.about-family {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.about-family h2,
.about-mission > header h2,
.about-story h2,
.about-contact h2 {
	margin: 0;
	color: #67442e;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: 1.35rem;
}

.about-family p {
	margin: 8px 0 0;
	color: #826c5e;
	font-size: 0.82rem;
}

.about-members {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 16px;
}

.about-member {
	display: grid;
	grid-template-columns: 112px minmax( 0, 1fr );
	min-height: 150px;
	padding: 15px;
	align-items: center;
	gap: 16px;
	background: rgba( 255, 255, 255, 0.82 );
	border: 1px solid rgba( 145, 95, 58, 0.1 );
	border-radius: 16px;
	box-shadow: 0 7px 20px rgba( 104, 70, 43, 0.06 );
}

.about-member__photo {
	display: grid;
	width: 112px;
	height: 112px;
	place-items: center;
	overflow: hidden;
	color: #9a6b4c;
	background: #f7dccb;
	border-radius: 50%;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: 2rem;
}

.about-member__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-member h2 {
	margin: 0;
	color: #67432e;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: 1.1rem;
}

.about-member h2 span {
	color: #f19499;
}

.about-member p {
	display: -webkit-box;
	margin: 6px 0 0;
	overflow: hidden;
	color: #816d60;
	font-size: 0.73rem;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.about-mission > header {
	margin-bottom: 11px;
	text-align: center;
}

.about-mission > header p {
	max-width: 700px;
	margin: 6px auto 0;
	color: #8d7768;
	font-size: 0.75rem;
}

.about-mission__grid {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	gap: 13px;
}

.about-mission__grid article {
	display: grid;
	grid-template-columns: minmax( 0, 1fr );
	min-height: 105px;
	padding: 16px;
	align-items: center;
	gap: 10px;
	background: linear-gradient( 135deg, #fff5e7, #fff0df );
	border: 1px solid #f2dfca;
	border-radius: 15px;
}

.about-mission__grid article:nth-child( 2 ) {
	background: linear-gradient( 135deg, #fff1f0, #ffe7e8 );
}

.about-mission__grid article:nth-child( 3 ) {
	background: linear-gradient( 135deg, #f8f2ff, #f0e9fb );
}

.about-mission__grid article:nth-child( 4 ) {
	background: linear-gradient( 135deg, #f4f8e9, #edf4dc );
}

.about-mission__grid article > span {
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	color: #d88143;
	font-family: monospace;
	font-size: 1.55rem;
	text-align: center;
}

.about-mission__image {
	width: 46px;
	height: 46px;
}

.about-mission__grid h3 {
	margin: 0;
	color: #865137;
	font-size: 0.92rem;
}

.about-mission__grid p {
	margin: 4px 0 0;
	color: #806d60;
	font-size: 0.67rem;
	line-height: 1.5;
}

.about-story {
	display: grid;
	grid-template-columns: minmax( 0, 1.45fr ) minmax( 300px, 0.55fr );
	padding: 16px;
	gap: 20px;
	background: rgba( 255, 255, 255, 0.82 );
	border: 1px solid rgba( 145, 95, 58, 0.1 );
	border-radius: 16px;
	box-shadow: 0 7px 20px rgba( 104, 70, 43, 0.06 );
}

.about-mission__grid article.has-media {
	grid-template-columns: 58px minmax( 0, 1fr );
}

.about-story__intro {
	margin: 6px 0 13px;
	color: #846f61;
	font-size: 0.72rem;
}

.about-story__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.about-story__heading h2 {
	margin: 0;
}

.about-story__heading .panel-heading__action {
	flex: 0 0 auto;
	color: var( --text-secondary );
	font-size: 0.68rem;
}

.about-story__timeline {
	display: grid;
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	padding: 14px 0 0;
	margin: 0;
	list-style: none;
}

.about-story__timeline li {
	position: relative;
	display: flex;
	min-width: 0;
	padding-right: 12px;
	flex-direction: column;
	align-items: flex-start;
}

.about-story__timeline li:not( :last-child )::after {
	position: absolute;
	top: 16px;
	left: 34px;
	width: calc( 100% - 34px );
	border-top: 1px dashed #efc19f;
	content: "";
}

.about-story__timeline li.has-more-stories::after {
	position: absolute;
	top: 16px;
	right: 78px;
	left: 34px;
	border-top: 1px dashed #efc19f;
	content: "";
}

.about-story__icon-link {
	z-index: 1;
	display: grid;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	place-items: center;
	border-radius: 50%;
	text-decoration: none;
}

a.about-story__icon-link:focus-visible {
	outline: 2px solid var( --primary );
	outline-offset: 3px;
}

.about-story__icon-link > span {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	color: #e78661;
	background: #fff0df;
	border-radius: 50%;
	font-size: 0.7rem;
}

.about-story__timeline time,
.about-story__timeline strong {
	display: block;
}

.about-story__timeline time {
	margin-top: 8px;
	color: #927867;
	font-size: 0.64rem;
}

.about-story__timeline strong {
	margin-top: 3px;
	color: var( --text-primary );
	font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
}

.about-story__timeline strong a {
	color: inherit;
	text-decoration: none;
}

.about-story__timeline strong a:hover,
.about-story__timeline strong a:focus-visible {
	text-decoration: underline;
}

.about-story__excerpt {
	display: -webkit-box;
	margin: 5px 0 0;
	overflow: hidden;
	color: var( --text-secondary );
	font-size: 0.62rem;
	line-height: 1.55;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.about-story__excerpt:hover,
.about-story__excerpt:focus-visible {
	color: var( --text-primary );
}

.about-story__more {
	position: absolute;
	top: 2px;
	right: 10px;
	display: flex;
	min-width: 58px;
	padding: 5px 7px;
	align-items: center;
	justify-content: center;
	gap: 4px;
	color: var( --text-secondary );
	background: var( --cream );
	border: 1px solid var( --border );
	border-radius: 999px;
	cursor: pointer;
	z-index: 1;
}

.about-story__more > span {
	color: var( --primary );
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
}

.about-story__more small {
	font-size: 0.56rem;
	white-space: nowrap;
}

.about-story__more:hover,
.about-story__more:focus-visible {
	color: var( --text-primary );
	background: var( --primary-light );
	outline: none;
}

.about-story__photo {
	position: relative;
	min-height: 180px;
	overflow: hidden;
	background: #ead7c2;
	border-radius: 13px;
}

.about-story__photo > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-story__photo strong {
	position: absolute;
	right: 10px;
	bottom: 10px;
	left: 10px;
	padding: 7px;
	color: #754a31;
	background: rgba( 255, 250, 244, 0.9 );
	border-radius: 9px;
	font-family: "STKaiti", "KaiTi", serif;
	font-size: 0.88rem;
	text-align: center;
}

.about-contact {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) auto;
	padding: 16px 22px;
	align-items: center;
	gap: 18px;
	background: rgba( 255, 255, 255, 0.82 );
	border: 1px solid rgba( 145, 95, 58, 0.1 );
	border-radius: 16px;
	box-shadow: 0 7px 20px rgba( 104, 70, 43, 0.06 );
}

.about-contact.has-decoration {
	grid-template-columns: 80px minmax( 0, 1fr ) auto;
}

.about-contact__bear {
	display: block;
	width: 64px;
	height: 64px;
}

.about-contact p {
	margin: 3px 0 0;
	color: #8b7566;
	font-size: 0.7rem;
}

.about-contact > a {
	padding: 11px 24px;
	color: #fff;
	background: #f18387;
	border-radius: 10px;
	font-size: 0.8rem;
	text-decoration: none;
}

@media ( max-width: 1050px ) {
	.about-member {
		grid-template-columns: 86px minmax( 0, 1fr );
	}

	.about-member__photo {
		width: 86px;
		height: 86px;
	}
}

@media ( max-width: 900px ) {
	.about-story {
		grid-template-columns: 1fr;
	}

	.about-story__photo {
		min-height: 240px;
	}
}

@media ( max-width: 768px ) {
	.baby-about-view {
		padding-bottom: 68px;
	}

	.baby-about-view .site-shell {
		width: min( calc( 100% - 24px ), 1340px );
	}

	.baby-about-page {
		padding-top: 10px;
	}

	.about-hero {
		grid-template-columns: minmax( 0, 1.1fr ) minmax( 138px, 0.9fr );
		min-height: 165px;
		border-radius: 16px;
	}

	.about-hero__copy {
		padding: 18px;
	}

	.about-hero__copy > p,
	.about-hero__bear {
		display: none;
	}

	.about-hero h1 {
		font-size: clamp( 1.7rem, 8vw, 2.3rem );
	}

	.about-hero__copy > div {
		margin-top: 7px;
		font-size: 0.68rem;
		line-height: 1.55;
	}

	.about-hero__image::before {
		width: 32%;
	}

	.about-content {
		padding-top: 14px;
		gap: 14px;
	}

	.about-family h2,
	.about-mission > header h2,
	.about-story h2,
	.about-contact h2 {
		font-size: 1.05rem;
	}

	.about-family p {
		font-size: 0.7rem;
	}

	.about-members {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.about-member {
		grid-template-columns: 72px minmax( 0, 1fr );
		min-height: 94px;
		padding: 10px;
		gap: 11px;
		border-radius: 12px;
	}

	.about-member__photo {
		width: 72px;
		height: 72px;
	}

	.about-member p {
		font-size: 0.65rem;
		-webkit-line-clamp: 3;
	}

	.about-mission__grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		gap: 7px;
	}

	.about-mission__grid article {
		grid-template-columns: minmax( 0, 1fr );
		min-height: 76px;
		padding: 9px;
		gap: 5px;
		border-radius: 11px;
	}

	.about-mission__grid article.has-media {
		grid-template-columns: 36px minmax( 0, 1fr );
	}

	.about-mission__grid article > span {
		width: 36px;
		height: 36px;
		font-size: 1.1rem;
	}

	.about-mission__image {
		width: 32px;
		height: 32px;
	}

	.about-mission__grid h3 {
		font-size: 0.75rem;
	}

	.about-mission__grid p {
		font-size: 0.56rem;
	}

	.about-story {
		padding: 12px;
		border-radius: 12px;
	}

	.about-story__timeline {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.about-story__timeline li:not( :last-child )::after {
		display: none;
	}

	.about-story__timeline li {
		padding-bottom: 10px;
	}

	.about-story__timeline li + li {
		padding-top: 10px;
		border-top: 1px dashed var( --border );
	}

	.about-story__photo {
		display: none;
	}

	.about-contact {
		grid-template-columns: minmax( 0, 1fr );
		padding: 12px;
		gap: 8px;
	}

	.about-contact.has-decoration {
		grid-template-columns: 45px minmax( 0, 1fr );
	}

	.about-contact__bear {
		width: 40px;
		height: 40px;
	}

	.about-contact > a {
		grid-column: 1 / -1;
		padding: 9px;
		text-align: center;
	}

	.baby-about-view .site-footer {
		padding-bottom: 82px;
	}
}

@media ( max-width: 390px ) {
	.about-hero {
		grid-template-columns: minmax( 0, 1.15fr ) minmax( 126px, 0.85fr );
	}

	.about-hero__copy {
		padding: 15px 13px;
	}

	.about-hero h1 {
		font-size: 1.65rem;
	}
}

/* Keep later page-specific rules on the configurable palette. */
.baby-album-view,
.baby-growth-data-view,
.baby-about-view {
	background: var( --background );
	color: var( --text-primary );
}

.baby-album-page,
.growth-data-page,
.baby-about-page {
	background:
		radial-gradient( circle at 88% 7%, var( --primary-light ), transparent 24% ),
		linear-gradient( 180deg, var( --background ), var( --cream ) );
}

.baby-album-view .site-header,
.baby-growth-data-view .site-header,
.baby-about-view .site-header {
	background: var( --surface );
	border-color: var( --border );
}

.baby-album-view .site-title a,
.baby-growth-data-view .site-title a,
.baby-about-view .site-title a {
	color: var( --text-primary );
}

.baby-album-view .site-branding__mark,
.baby-growth-data-view .site-branding__mark,
.baby-about-view .site-branding__mark {
	color: var( --text-primary );
	background: var( --primary-light );
	border-color: var( --primary );
}

.album-hero__inner,
.growth-data-hero,
.about-hero {
	background: var( --cream );
	border-color: var( --border );
}

.album-hero__copy,
.about-hero__copy {
	background:
		radial-gradient( circle at 18% 24%, var( --primary-light ) 0 13px, transparent 14px ),
		radial-gradient( circle at 82% 68%, var( --surface ) 0 34px, transparent 35px );
}

.album-hero__image,
.about-hero__image {
	background: var( --cream );
}

.album-hero__image::before,
.about-hero__image::before {
	background: linear-gradient( 90deg, var( --cream ), transparent );
}

.album-hero h1,
.growth-data-hero h1,
.about-hero h1,
.album-month h2,
.growth-summary-card h2,
.growth-panel-heading h2,
.about-family h2,
.about-member h2,
.about-mission__grid h3,
.about-contact h2 {
	color: var( --text-primary );
}

.album-hero__copy > p,
.growth-data-hero__copy > p,
.about-hero__copy > p,
.album-hero__copy > div,
.growth-data-hero__copy > div,
.about-hero__copy > div,
.album-month small,
.growth-summary-card p,
.about-member p,
.about-mission > header p,
.about-mission__grid p,
.about-contact p {
	color: var( --text-secondary );
}

.album-hero h1 span,
.growth-data-hero h1 span,
.about-hero h1 span,
.about-content h2 > span,
.about-member h2 span,
.growth-panel-heading h2 span {
	color: var( --primary );
}

.album-browser,
.album-month,
.growth-summary-card,
.growth-records-panel,
.about-family,
.about-member,
.about-mission__grid article,
.about-story,
.about-contact {
	background: var( --surface );
	border-color: var( --border );
}

.growth-summary-card,
.about-mission__grid article:nth-child( 4 ) {
	background: var( --primary-light );
}

.about-mission__grid article:nth-child( 2 ) {
	background: var( --pink );
}

.growth-summary-card--weight,
.about-mission__grid article:nth-child( 3 ) {
	background: var( --blue );
}

.growth-summary-card--head {
	background: var( --yellow );
}

.growth-summary-card--age {
	background: var( --peach );
}

.album-toolbar select,
.album-view-switch,
.growth-periods,
.growth-chart-legend button,
.growth-data-table th,
.growth-data-table td {
	color: var( --text-primary );
	background: var( --surface );
	border-color: var( --border );
}

.album-view-switch button.is-active,
.growth-periods button.is-active,
.about-contact > a {
	color: var( --text-primary );
	background: var( --primary );
	border-color: var( --primary );
}

.about-story__timeline .milestone-ring {
	color: var( --text-primary );
	background: var( --milestone-ring-color, var( --primary ) );
	border-color: var( --surface );
}

.baby-album-view .site-footer,
.baby-growth-data-view .site-footer,
.baby-about-view .site-footer {
	color: var( --surface );
	background: var( --text-primary );
}

/* Avoid pure white in interactive and initially hidden states. */
.site-profile,
.milestone-list__dot {
	border-color: var( --surface );
}

.birthday-field input,
.records-filter__tags a,
.records-tag-cloud a,
.records-sort select,
.records-pagination .page-numbers,
.album-toolbar select,
.album-view-switch button.is-active,
.growth-periods button.is-active {
	background: var( --surface );
}

.records-filter__tags a:hover,
.records-filter__tags a:focus-visible,
.records-filter__tags a.is-active,
.records-pagination .page-numbers.current,
.milestone-list__dot,
.album-month__header > div > span,
.album-photo::after,
.album-lightbox__top,
.album-lightbox__close,
.album-lightbox__previous,
.album-lightbox__next {
	color: var( --surface );
}

.growth-chart-point {
	stroke: var( --surface );
}

/* Randomized milestone icon rings use only colors from the configurable site palette. */
.milestone-ring {
	box-shadow: 0 0 0 2px var( --milestone-ring-color, var( --primary ) );
}

.milestone-ring--primary {
	--milestone-ring-color: var( --primary );
}

.milestone-ring--primary-light {
	--milestone-ring-color: var( --primary-light );
}

.milestone-ring--pink {
	--milestone-ring-color: var( --pink );
}

.milestone-ring--peach {
	--milestone-ring-color: var( --peach );
}

.milestone-ring--yellow {
	--milestone-ring-color: var( --yellow );
}

.milestone-ring--blue {
	--milestone-ring-color: var( --blue );
}

/* Reference-style milestone timeline: separate node, Emoji circle and content. */
.milestone-panel {
	padding: 18px 17px 17px;
}

.milestone-panel .panel-heading {
	padding-bottom: 11px;
	margin-bottom: 7px;
	border-bottom: 1px solid rgba( 123, 174, 127, 0.16 );
}

.milestone-panel .panel-heading h2 {
	font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
	font-size: 0.92rem;
	font-weight: 700;
}

.milestone-panel .panel-heading__action {
	color: var( --text-secondary );
	font-size: 0.68rem;
}

.milestone-panel .milestone-list {
	padding: 2px 0;
}

.milestone-panel .milestone-list::before {
	top: 21px;
	bottom: 21px;
	left: 4px;
	width: 0;
	background: transparent;
	border-left: 1px dashed rgba( 123, 174, 127, 0.42 );
}

.milestone-panel .milestone-list li {
	grid-template-columns: 34px minmax( 0, 1fr ) auto 0;
	min-height: 55px;
	padding: 6px 0 6px 19px;
	align-items: center;
	gap: 10px;
}

.milestone-panel .milestone-list li::before {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 1px;
	width: 7px;
	height: 7px;
	background: var( --surface );
	border: 2px solid var( --primary );
	border-radius: 50%;
	content: "";
	translate: 0 -50%;
}

.milestone-panel .milestone-list li:nth-child( 2 )::before {
	border-color: var( --pink );
}

.milestone-panel .milestone-list li:nth-child( 3 )::before {
	border-color: var( --yellow );
}

.milestone-panel .milestone-list li:nth-child( 4 )::before {
	border-color: var( --blue );
}

.milestone-panel .milestone-list li:nth-child( 5 )::before {
	border-color: var( --peach );
}

.milestone-panel .milestone-list li .milestone-list__dot {
	width: 32px;
	height: 32px;
	color: var( --text-primary );
	background: var( --milestone-ring-color, var( --primary ) );
	border: 3px solid var( --surface );
	font-size: 0.88rem;
	box-shadow: 0 0 0 1px var( --milestone-ring-color, var( --primary ) );
}

.milestone-panel .milestone-list__content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 1px;
}

.milestone-panel .milestone-list__content a {
	display: block;
	font-size: 0.76rem;
	line-height: 1.45;
}

.milestone-panel .milestone-list__content p {
	max-width: 100%;
	margin: 0;
	overflow: hidden;
	color: var( --text-secondary );
	font-size: 0.62rem;
	line-height: 1.45;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.milestone-panel .milestone-list time {
	align-self: start;
	padding-top: 4px;
	color: var( --text-secondary );
	font-size: 0.58rem;
	white-space: nowrap;
}

.milestone-panel .milestone-list__arrow {
	display: none;
}

.milestone-panel .milestone-list__empty {
	display: block;
	min-height: 0;
	padding: 22px 4px;
	color: var( --text-secondary );
	font-size: 0.72rem;
	text-align: center;
}

.milestone-panel .milestone-list__empty::before {
	display: none;
}

@media ( max-width: 768px ) {
	.milestone-panel {
		padding: 12px;
	}

	.milestone-panel .panel-heading {
		padding-bottom: 8px;
		margin-bottom: 4px;
	}

	.milestone-panel .milestone-list::before {
		top: 19px;
		bottom: 19px;
		left: 3px;
	}

	.milestone-panel .milestone-list li {
		grid-template-columns: 30px minmax( 0, 1fr ) auto 12px;
		min-height: 48px;
		padding: 5px 0 5px 16px;
		gap: 8px;
	}

	.milestone-panel .milestone-list li::before {
		left: 0;
	}

	.milestone-panel .milestone-list__dot {
		width: 28px;
		height: 28px;
		font-size: 0.78rem;
	}

	.milestone-panel .milestone-list__content a {
		font-size: 0.74rem;
	}

	.milestone-panel .milestone-list__content p {
		display: none;
	}

	.milestone-panel .milestone-list time {
		align-self: center;
		padding: 0;
		font-size: 0.57rem;
	}

	.milestone-panel .milestone-list__arrow {
		display: block;
	}
}

/* Homepage milestone list dialog. */
.milestone-dialog[hidden] {
	display: none;
}

.milestone-dialog {
	position: fixed;
	z-index: 1100;
	inset: 0;
	display: grid;
	padding: 24px;
	place-items: center;
	background: rgba( 55, 43, 35, 0.54 );
	backdrop-filter: blur( 4px );
}

.milestone-dialog__panel {
	display: flex;
	width: min( 680px, calc( 100vw - 32px ) );
	max-height: min( 82vh, 760px );
	flex-direction: column;
	overflow: hidden;
	background: var( --surface, #fffdf8 );
	border: 1px solid var( --border );
	border-radius: 22px;
	box-shadow: 0 24px 70px rgba( 55, 43, 35, 0.24 );
}

.milestone-dialog__header {
	display: flex;
	padding: 22px 24px 18px;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	background: var( --primary-light );
	border-bottom: 1px solid var( --border );
}

.milestone-dialog__header p {
	margin: 0 0 5px;
	color: var( --text-primary );
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.milestone-dialog__header h2 {
	display: flex;
	margin: 0;
	align-items: center;
	gap: 8px;
	color: var( --text-primary );
	font-family: "STKaiti", "KaiTi", serif;
	font-size: 1.35rem;
}

.milestone-dialog__header h2 .ui-icon {
	width: 1.25em;
	height: 1.25em;
}

.milestone-dialog__close {
	display: grid;
	width: 36px;
	height: 36px;
	padding: 9px;
	flex: 0 0 auto;
	place-items: center;
	color: var( --text-primary );
	background: rgba( 255, 255, 255, 0.72 );
	border: 1px solid var( --border );
	border-radius: 50%;
	cursor: pointer;
}

.milestone-dialog__close .ui-icon {
	width: 100%;
	height: 100%;
}

.milestone-dialog__body {
	padding: 10px 24px 20px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.milestone-dialog__list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.milestone-dialog__list li + li {
	border-top: 1px solid var( --border );
}

.milestone-dialog__list a {
	display: grid;
	grid-template-columns: 42px minmax( 0, 1fr ) auto 16px;
	min-height: 72px;
	padding: 10px 3px;
	align-items: center;
	gap: 13px;
	color: var( --text-primary );
	text-decoration: none;
}

.milestone-dialog__list a:hover,
.milestone-dialog__list a:focus-visible {
	color: var( --text-primary );
	background: rgba( 123, 174, 127, 0.08 );
}

.milestone-dialog__icon {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	background: var( --milestone-ring-color );
	border: 3px solid var( --surface, #fffdf8 );
	border-radius: 50%;
	font-size: 1rem;
}

.milestone-dialog__content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 4px;
}

.milestone-dialog__content strong {
	overflow: hidden;
	font-size: 0.9rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.milestone-dialog__content > span,
.milestone-dialog__list time {
	color: var( --text-secondary );
	font-size: 0.7rem;
}

.milestone-dialog__arrow {
	width: 14px;
	height: 14px;
}

.milestone-dialog__empty {
	padding: 34px 0;
	margin: 0;
	color: var( --text-secondary );
	text-align: center;
}

body.milestone-dialog-open {
	overflow: hidden;
}

@media ( max-width: 640px ) {
	.milestone-dialog {
		padding: 0;
		place-items: end center;
	}

	.milestone-dialog__panel {
		width: 100%;
		max-height: 86vh;
		border-radius: 22px 22px 0 0;
	}

	.milestone-dialog__header {
		padding: 18px 18px 15px;
	}

	.milestone-dialog__body {
		padding: 8px 16px max( 18px, env( safe-area-inset-bottom ) );
	}

	.milestone-dialog__list a {
		grid-template-columns: 42px minmax( 0, 1fr ) 14px;
	}

	.milestone-dialog__list time {
		grid-column: 2;
		grid-row: 2;
	}

	.milestone-dialog__arrow {
		grid-column: 3;
		grid-row: 1 / span 2;
	}
}

/* Keep the footer in the same muted sage palette as the rest of the site. */
.site-footer,
.home .site-footer,
.baby-album-view .site-footer,
.baby-growth-data-view .site-footer,
.baby-about-view .site-footer {
	color: var( --text-primary );
	background: var( --primary-light );
	border-top: 1px solid var( --border );
}

.home .site-footer::before {
	background: var( --primary-light );
}

.site-footer__title,
.home .site-footer__title,
.footer-menu a,
.home .footer-menu a,
.site-footer__public-security,
.site-footer__public-security:hover,
.site-footer__public-security:focus-visible {
	color: var( --text-primary );
}

.site-footer__bottom,
.home .site-footer__bottom {
	border-color: var( --border );
}

/* Moderated message form on the About page. */
.about-message {
	display: grid;
	grid-template-columns: minmax( 230px, 0.7fr ) minmax( 0, 1.8fr );
	padding: 18px 20px;
	align-items: center;
	gap: 12px 24px;
	background: var( --surface );
	border: 1px solid var( --border );
	border-radius: 16px;
	box-shadow: var( --shadow-soft );
}

.about-message__heading {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 12px;
}

.about-message__decoration {
	display: block;
	width: 66px;
	height: 66px;
	flex: 0 0 66px;
}

.about-message__decoration-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.about-message h2 {
	display: flex;
	margin: 0;
	align-items: center;
	gap: 5px;
	color: var( --text-primary );
	font-family: "STKaiti", "KaiTi", serif;
	font-size: 1.25rem;
}

.about-message h2 .ui-icon {
	width: 0.8em;
	height: 0.8em;
}

.about-message__heading p {
	margin: 5px 0 0;
	color: var( --text-secondary );
	font-size: 0.68rem;
	line-height: 1.55;
}

.about-message__form {
	position: relative;
	display: grid;
	grid-template-columns: minmax( 130px, 0.55fr ) minmax( 220px, 1.45fr ) auto;
	align-items: stretch;
	gap: 10px;
}

.about-message__form label,
.about-message__form input,
.about-message__form textarea {
	min-width: 0;
	width: 100%;
}

.about-message__form input,
.about-message__form textarea {
	height: 46px;
	padding: 12px 14px;
	color: var( --text-primary );
	background: var( --background );
	border: 1px solid var( --border );
	border-radius: 10px;
	font-size: 0.75rem;
	line-height: 1.45;
}

.about-message__form textarea {
	display: block;
	resize: none;
}

.about-message__form input:focus,
.about-message__form textarea:focus {
	background: var( --surface );
	border-color: var( --primary );
	outline: 2px solid color-mix( in srgb, var( --primary ) 24%, transparent );
}

.about-message__form button {
	display: inline-flex;
	min-width: 118px;
	padding: 0 18px;
	align-items: center;
	justify-content: center;
	gap: 5px;
	color: var( --surface );
	background: var( --primary );
	border: 1px solid var( --primary );
	border-radius: 10px;
	font-size: 0.76rem;
	font-weight: 700;
	cursor: pointer;
}

.about-message__form button .ui-icon {
	width: 0.9em;
	height: 0.9em;
}

.about-message__website {
	position: absolute;
	width: 1px !important;
	height: 1px;
	overflow: hidden;
	clip-path: inset( 50% );
}

.about-message__meta {
	grid-column: 2;
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.about-message__meta small {
	color: var( --text-secondary );
	font-size: 0.6rem;
}

.about-message__feedback {
	margin: 0;
	font-size: 0.66rem;
	font-weight: 600;
}

.about-message__feedback.is-success {
	color: var( --primary );
}

.about-message__feedback.is-error {
	color: #a85555;
}

/* Approved messages rotate through the open space in the homepage Hero. */
.hero-messages {
	min-width: 0;
	padding: 10px 14px 12px;
	background: var( --surface );
	background: color-mix( in srgb, var( --surface ) 88%, transparent );
	border: 1px solid var( --border );
	border-radius: 14px;
	box-shadow: 0 7px 20px rgba( 52, 64, 51, 0.07 );
}

.hero-messages > header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.hero-messages h2 {
	display: flex;
	margin: 0;
	align-items: center;
	gap: 5px;
	color: var( --text-primary );
	font-size: 0.75rem;
}

.hero-messages h2 .ui-icon {
	width: 1em;
	height: 1em;
}

.hero-messages > header > span {
	color: var( --text-secondary );
	font-size: 0.56rem;
}

.hero-messages__viewport {
	position: relative;
	min-height: 66px;
	margin-top: 4px;
	overflow: hidden;
}

.hero-messages ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.hero-messages li {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: translateY( 18px );
	pointer-events: none;
	transition: opacity 380ms ease, transform 380ms ease;
}

.hero-messages li.is-active {
	opacity: 1;
	transform: translateY( 0 );
}

.hero-messages li.is-leaving {
	transform: translateY( -18px );
}

.hero-messages blockquote {
	display: flex;
	height: 66px;
	width: 100%;
	padding: 0;
	margin: 0;
	flex-direction: column;
}

.hero-messages blockquote > p {
	padding: 0;
	margin: 0;
	color: var( --text-primary );
	font-size: 0.7rem;
	line-height: 1.55;
}

.hero-messages blockquote > p > span {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.hero-messages blockquote > p i {
	color: var( --primary );
	font-family: Georgia, serif;
	font-size: 1.15em;
	font-style: normal;
}

.hero-messages blockquote footer {
	display: flex;
	width: 100%;
	margin-top: auto;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: var( --text-secondary );
	font-size: 0.58rem;
}

.hero-messages blockquote strong {
	margin-right: auto;
	color: var( --primary );
	font-weight: 700;
}

.hero-messages blockquote time {
	margin-left: auto;
}

@media ( max-width: 900px ) {
	.about-message {
		grid-template-columns: 1fr;
	}

	.about-message__meta {
		grid-column: 1;
	}
}

@media ( max-width: 640px ) {
	.about-message {
		padding: 14px;
	}

	.about-message__decoration {
		width: 52px;
		height: 52px;
		flex-basis: 52px;
	}

	.about-message__form {
		grid-template-columns: 1fr;
	}

	.about-message__form button {
		min-height: 44px;
	}

	.about-message__meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	.hero-messages {
		padding: 9px 12px 10px;
	}

	.hero-messages__viewport {
		min-height: 62px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.hero-messages li {
		transition: none;
	}
}
