:root {
  --paper: #faf8f3;
  --ink: #282d3b;
  --muted: #626677;
  --line: #dcdde4;
  --accent: #374dc4;
  --soft: #edecf8;
  --dark: #283b8e;
  --serif: "Gowun Batang", Georgia, serif;
  --sans: "Noto Sans KR", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body[data-site="health"] {
  --ink: #343c31;
  --muted: #64695d;
  --line: #deded0;
  --accent: #a44731;
  --soft: #f1e7dd;
  --dark: #703e30;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  word-break: keep-all;
  letter-spacing: -0.055em;
  line-height: 1.45;
}
p {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
img,
svg {
  max-width: 100%;
}
img {
  display: block;
}
input,
select,
textarea {
  font-size: 16px;
}
button,
a,
summary,
input,
textarea,
select {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1200px, calc(100% - 96px));
  margin: auto;
}
.section {
  padding-block: 100px;
}
.compact {
  padding-top: 25px;
}
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  line-height: 1.7;
  margin-bottom: 20px;
}
.muted {
  color: var(--muted);
  font-size: 0.9375rem;
}
.fineprint {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.8;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 1px solid transparent;
  min-height: 52px;
  min-width: 44px;
  border-radius: 5px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  transition:
    background 0.18s,
    transform 0.18s;
  text-align: center;
}
.button:hover {
  transform: translateY(-2px);
}
.button.primary {
  color: #fff;
  background: var(--accent);
}
.button.primary:hover {
  background: var(--dark);
}
.button.outline {
  color: var(--ink);
  border-color: #afb4bc;
  background: transparent;
}
.button.light {
  background: #f6f2e6;
  color: var(--dark);
}
.button.small {
  min-height: 44px;
  font-size: 0.875rem;
  padding: 10px 18px;
}
.button.danger {
  color: #9c302a;
  border-color: #c27e74;
  background: #fff5f0;
}
.full {
  width: 100%;
}
.actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  border-bottom: 1px solid currentColor;
  font-size: 0.9375rem;
}
.text-link:hover {
  color: var(--accent);
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: #fff;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.familybar {
  background: var(--ink);
  color: #f1f0e9;
  font-size: 0.75rem;
}
.family-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 42px;
}
.family-label {
  letter-spacing: 0.13em;
  font-weight: 700;
  display: flex;
  align-items: center;
  min-height: 44px;
}
.family-inner nav {
  display: flex;
  gap: 24px;
}
.family-inner nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  opacity: 0.7;
}
.family-inner nav a[aria-current] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.family-motto {
  margin-left: auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.875rem;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: #faf8f3f5;
  backdrop-filter: blur(12px);
}
.header-inner {
  height: 90px;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  min-height: 44px;
  white-space: nowrap;
}
.brand svg {
  width: 38px;
  height: 38px;
  color: var(--accent);
}
.brand b {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.header-inner nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
  margin-right: 10px;
}
.header-inner nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.header-inner nav a[aria-current] {
  color: var(--accent);
  font-weight: 600;
}
.header-inner nav a:hover {
  color: var(--accent);
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding-block: 70px 78px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 4.2vw, 3.9rem);
  line-height: 1.4;
  letter-spacing: -0.065em;
}
.hero h1 > span {
  display: block;
}
.hero h1 > span:last-child {
  color: var(--accent);
}
.hero-copy > p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-top: 26px;
  color: var(--muted);
}
.hero .actions {
  margin-top: 32px;
}
.hero-footnote {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 21px;
}
.hero-visual {
  position: relative;
  margin-bottom: 15px;
}
.hero-visual > img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.visual-caption {
  font-family: var(--serif);
  color: var(--accent);
  position: absolute;
  right: 5px;
  top: -25px;
  font-size: 1.0625rem;
  font-style: italic;
  transform: rotate(5deg);
}
.hero-note {
  position: absolute;
  left: -26px;
  right: 35px;
  bottom: -22px;
  background: #fffdf7f5;
  border: 1px solid #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px #29294e12;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: rotate(-3deg);
}
.note-mark {
  width: 40px;
  height: 40px;
  color: var(--accent);
  flex-shrink: 0;
}
.hero-note small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}
.hero-note strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
}
.manifesto-strip {
  border-block: 1px solid var(--line);
}
.manifesto-strip .wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.manifesto-strip span:first-child {
  font-size: 0.6875rem;
  letter-spacing: 0.17em;
  color: var(--accent);
}
.manifesto-strip p {
  font-family: var(--serif);
  font-size: 1.125rem;
}
.manifesto-strip span:last-child {
  font-size: 2rem;
  color: var(--accent);
}
h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.9vw, 2.6rem);
  font-weight: 700;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.intro > p {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 2.1;
}
.program-section {
  background: var(--soft);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}
.section-head > p {
  white-space: pre-line;
  color: var(--muted);
  font-size: 1rem;
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.program-card {
  background: var(--paper);
  border: 1px solid #e0dfe5;
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px #33324b0a;
}
.cover-link {
  display: block;
}
.program-cover {
  height: 245px;
  background: #d8d9eb;
  position: relative;
  overflow: hidden;
  padding: 22px;
  color: #303f8e;
}
.cover-word {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}
.cover-caption {
  position: absolute;
  bottom: 18px;
  right: 20px;
  font-size: 0.625rem;
  letter-spacing: 0.13em;
  z-index: 2;
}
.cover-shape {
  position: absolute;
  width: 160px;
  height: 160px;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
}
.cover-shape i {
  position: absolute;
  display: block;
  width: 100px;
  height: 100px;
  background: #6275b8;
  border-radius: 50%;
  left: 30px;
  top: 20px;
}
.art-orbit .cover-shape i {
  background: transparent;
  border: 2px solid #445ba7;
  width: 150px;
  height: 70px;
  left: 5px;
  top: 45px;
  transform: rotate(45deg);
}
.art-orbit .cover-shape i:nth-child(2) {
  transform: rotate(-45deg);
}
.art-orbit .cover-shape i:nth-child(3) {
  transform: rotate(90deg);
}
.art-orbit .cover-shape i:nth-child(4) {
  width: 35px;
  height: 35px;
  background: #d8a066;
  border: 0;
  left: 63px;
  top: 62px;
}
.art-lines {
  background: #e8dbcf;
  color: #745449;
}
.art-lines .cover-shape {
  background: #fcf7e9;
  width: 135px;
  height: 140px;
  transform: translate(-50%, -50%) rotate(-12deg);
  box-shadow: 7px 7px 0 #c5a995;
}
.art-lines .cover-shape i {
  width: 85px;
  height: 2px;
  border-radius: 0;
  background: #b68d75;
  left: 25px;
  top: 30px;
}
.art-lines .cover-shape i:nth-child(2) {
  top: 50px;
}
.art-lines .cover-shape i:nth-child(3) {
  top: 70px;
}
.art-lines .cover-shape i:nth-child(4) {
  top: 90px;
  width: 50px;
}
.art-shapes {
  background: #dce3d3;
  color: #4d6346;
}
.art-shapes .cover-shape i:first-child {
  background: #76966c;
  left: 10px;
  top: 30px;
  border-radius: 0;
  width: 80px;
  height: 100px;
}
.art-shapes .cover-shape i:nth-child(2) {
  background: #dbab72;
  width: 85px;
  height: 85px;
  left: 70px;
  top: 10px;
}
.art-shapes .cover-shape i:nth-child(3) {
  background: #e7d2b0;
  border-radius: 0;
  width: 80px;
  height: 80px;
  left: 75px;
  top: 80px;
  transform: rotate(25deg);
}
.art-shapes .cover-shape i:nth-child(4) {
  display: none;
}
.art-type {
  background: #e7d7df;
  color: #795e70;
}
.art-type .cover-shape:before {
  content: "Aa";
  position: absolute;
  font-family: Georgia, serif;
  font-size: 120px;
  line-height: 1.5;
  color: #9a7189;
  transform: rotate(-10deg);
}
.art-type .cover-shape i {
  display: none;
}
.art-blocks {
  background: #e4dfc9;
  color: #716044;
}
.art-blocks .cover-shape i {
  border-radius: 3px;
  background: #b9a878;
  width: 74px;
  height: 74px;
  left: 15px;
  top: 65px;
  box-shadow: 5px 5px 0 #897a5530;
}
.art-blocks .cover-shape i:nth-child(2) {
  left: 95px;
  background: #d1a77b;
}
.art-blocks .cover-shape i:nth-child(3) {
  left: 55px;
  top: -15px;
  background: #f7eed1;
}
.art-blocks .cover-shape i:nth-child(4) {
  display: none;
}
.art-book {
  background: #d6e1e7;
  color: #415c75;
}
.art-book .cover-shape i {
  border-radius: 3px;
  background: #738fa4;
  width: 130px;
  height: 125px;
  left: 15px;
  top: 20px;
  transform: rotate(-12deg);
  box-shadow: 5px 6px 0 #aec2ce;
}
.art-book .cover-shape i:nth-child(2) {
  width: 2px;
  background: #c3d8e3;
  left: 50px;
  top: 20px;
}
.art-book .cover-shape i:nth-child(3) {
  width: 60px;
  height: 2px;
  background: #e3e9ea;
  left: 60px;
  top: 55px;
}
.art-book .cover-shape i:nth-child(4) {
  width: 40px;
  height: 2px;
  background: #e3e9ea;
  left: 65px;
  top: 75px;
}
.art-arch {
  background: #e3ded0;
  color: #6d6c4a;
}
.art-arch .cover-shape i {
  width: 110px;
  height: 125px;
  border: 15px solid #95a07a;
  border-bottom: 0;
  border-radius: 60px 60px 0 0;
  background: transparent;
  left: 25px;
  top: 20px;
}
.art-arch .cover-shape i:nth-child(2) {
  width: 65px;
  height: 95px;
  left: 48px;
  top: 50px;
  border-width: 9px;
  border-color: #e8d1a7;
}
.art-arch .cover-shape i:nth-child(3) {
  width: 35px;
  height: 35px;
  border: 0;
  background: #bf8b5d;
  left: 63px;
  top: 96px;
  border-radius: 50%;
}
.art-arch .cover-shape i:nth-child(4) {
  display: none;
}
.art-wave {
  background: #dce3d6;
  color: #4c6650;
}
.art-wave .cover-shape i {
  width: 160px;
  height: 70px;
  left: 0;
  top: 30px;
  border-radius: 50%;
  border: 2px solid #6f8b6f;
  background: transparent;
  transform: rotate(-15deg);
}
.art-wave .cover-shape i:nth-child(2) {
  top: 45px;
}
.art-wave .cover-shape i:nth-child(3) {
  top: 60px;
}
.art-wave .cover-shape i:nth-child(4) {
  top: 75px;
}
.art-sun {
  background: #ead8cb;
  color: #955d44;
}
.art-sun .cover-shape i {
  width: 105px;
  height: 105px;
  background: #cc9770;
  top: 25px;
  left: 28px;
}
.art-sun .cover-shape i:nth-child(2) {
  width: 140px;
  height: 140px;
  border: 1px solid #c69471;
  background: transparent;
  top: 7px;
  left: 10px;
}
.art-sun .cover-shape i:nth-child(3) {
  width: 160px;
  height: 160px;
  border: 1px solid #c6947160;
  background: transparent;
  top: -3px;
  left: 0;
}
.art-sun .cover-shape i:nth-child(4) {
  display: none;
}
.program-info {
  padding: 24px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.program-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -0.045em;
}
.program-info h3 a {
  display: block;
  min-height: 44px;
}
.program-info p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 12px 0 22px;
  min-height: 80px;
}
.card-bottom {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--muted);
}
.card-bottom > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  font-size: 0.875rem;
  color: var(--accent);
}
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 58px;
}
.principles article + article {
  border-left: 1px solid var(--line);
  padding-left: 42px;
}
.principle-symbol {
  font-size: 2.5rem;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
  line-height: 1.4;
}
.principles h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  font-weight: 500;
}
.principles p {
  font-size: 1rem;
  color: var(--muted);
}
.journal-feature {
  padding-block: 85px;
  background: var(--soft);
}
.journal-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.journal-preview {
  background: #fffdf8;
  padding: 35px 38px;
  border: 1px solid #fff;
  border-radius: 7px;
  box-shadow: 8px 10px 0 #b9b4cc30;
  transform: rotate(-3deg);
  position: relative;
}
.preview-top {
  display: flex;
  justify-content: space-between;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.preview-top > span:last-child {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 400;
}
.journal-preview h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin-top: 30px;
}
.sample-note {
  font-family: var(--serif);
  color: var(--muted);
  font-size: 1.125rem;
  margin: 18px 0 25px;
}
.sample-rule {
  border-top: 1px solid var(--line);
  padding: 17px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sample-rule span {
  color: var(--muted);
  font-size: 0.75rem;
}
.sample-rule b {
  font-size: 0.9375rem;
  font-weight: 400;
}
.preview-stamp {
  text-align: right;
  color: var(--accent);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  margin-top: 15px;
}
.journal-feature-grid > div:last-child > p {
  font-size: 1rem;
  margin: 24px 0;
  color: var(--muted);
}
.journal-feature-grid > div:last-child > small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 17px;
}
.cross-section {
  border-block: 1px solid var(--line);
  padding-block: 52px;
}
.cross-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}
.cross-inner h2 {
  font-size: 1.75rem;
}
.cross-inner p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-top: 12px;
}
.cross-inner .eyebrow {
  font-size: 0.6875rem;
  margin-bottom: 10px;
}
.cross-inner .button {
  flex-shrink: 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.faq-grid details {
  border-top: 1px solid var(--line);
}
.faq-grid details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  cursor: pointer;
  padding-block: 20px;
  list-style: none;
  font-size: 1rem;
  word-break: keep-all;
}
.faq-grid summary::-webkit-details-marker {
  display: none;
}
.faq-grid summary span {
  font-size: 1.5rem;
  color: var(--accent);
}
.faq-grid details[open] summary span {
  transform: rotate(45deg);
}
.faq-grid details p {
  font-size: 0.9375rem;
  color: var(--muted);
  padding: 0 20px 25px 0;
}
.closing {
  background: var(--dark);
  color: #faf5e8;
  text-align: center;
  padding-block: 75px;
}
.closing .eyebrow {
  color: #e2dccc;
}
.closing h2 {
  font-size: 2.5rem;
  white-space: pre-line;
  font-weight: 400;
}
.closing p {
  margin: 24px 0 30px;
  color: #e3e4ec;
}
.site-footer {
  padding: 50px 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}
.footer-top p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 17px;
}
.family-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 22px;
}
.family-links .eyebrow {
  grid-column: 1/-1;
  margin-bottom: 8px;
  font-size: 0.6875rem;
}
.family-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.8125rem;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 35px;
  padding-top: 22px;
  font-size: 0.75rem;
  color: var(--muted);
}
.footer-bottom a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.page-heading {
  padding-block: 70px 40px;
}
.page-heading h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  font-weight: 700;
}
.page-heading p {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-top: 20px;
}
.page-heading .button {
  margin-top: 28px;
}
.catalog-tools {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
}
.search-label {
  font-size: 0.875rem;
  min-width: 300px;
}
.search-label input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  background: #fffdf9;
  border: 1px solid #c9cbd6;
  border-radius: 5px;
  min-height: 48px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 30px;
  font-size: 0.875rem;
  padding: 10px 18px;
  min-height: 44px;
}
.filter[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
#search-status {
  margin-bottom: 22px;
}
.empty {
  text-align: center;
  padding: 50px 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fffdf8;
}
.empty > span {
  display: block;
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 12px;
}
.empty h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 13px;
}
.empty p {
  font-size: 0.9375rem;
  color: var(--muted);
}
.breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 25px;
  color: var(--muted);
  font-size: 0.8125rem;
  flex-wrap: wrap;
}
.breadcrumb a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.detail-hero {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 90px;
  align-items: center;
  padding-block: 30px 65px;
}
.detail-hero h1 {
  font-family: var(--serif);
  font-size: 2.7rem;
  line-height: 1.5;
}
.detail-hero p {
  margin-top: 20px;
  font-size: 1.0625rem;
  color: var(--muted);
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 0.8125rem;
  margin: 24px 0 30px;
  color: var(--muted);
}
.detail-cover {
  height: 320px;
  border-radius: 9px;
}
.detail-cover .cover-word {
  font-size: 1.5rem;
}
.detail-cover .cover-shape {
  scale: 1.35;
  transform-origin: 0 0;
}
.detail-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 65px;
  margin-bottom: 90px;
  align-items: start;
}
.course-sidebar {
  position: sticky;
  top: 115px;
  background: var(--soft);
  padding: 26px;
  border-radius: 7px;
}
.course-sidebar h2 {
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 500;
}
.course-sidebar > p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-top: 14px;
}
.course-sidebar .eyebrow {
  font-size: 0.6875rem;
  margin-bottom: 14px;
}
.course-sidebar nav {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}
.course-sidebar nav a {
  font-size: 0.875rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-block: 8px;
}
.course-sidebar nav a:hover {
  color: var(--accent);
}
.course-sidebar > .fineprint {
  font-size: 0.75rem;
}
.progress-caption {
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 23px;
}
progress {
  width: 100%;
  height: 7px;
  border: 0;
  appearance: none;
}
progress::-webkit-progress-bar {
  background: #d9dbe4;
  border-radius: 10px;
}
progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 10px;
}
progress::-moz-progress-bar {
  background: var(--accent);
  border-radius: 10px;
}
.gentle-note {
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--soft);
  font-size: 0.8755rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.lesson {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.lesson-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
}
.lesson-heading .eyebrow {
  width: 100%;
  margin-bottom: 0;
  font-size: 0.75rem;
}
.lesson h2 {
  font-size: 1.6rem;
  flex: 1;
}
.complete-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.875rem;
  cursor: pointer;
}
.complete-label input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}
.lesson > p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
}
.assignment {
  padding: 22px 24px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-top: 22px;
}
.assignment strong {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.875rem;
}
.assignment p {
  font-size: 1rem;
  margin: 10px 0 15px;
}
.assignment span {
  font-size: 0.8125rem;
  color: var(--muted);
}
.lesson > .text-link {
  margin-top: 17px;
  font-size: 0.875rem;
}
.journal-layout {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 10px;
  margin-bottom: 90px;
}
.journal-editor {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
}
.journal-editor h2 {
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 500;
}
.journal-editor > .muted {
  font-size: 0.875rem;
  margin: 12px 0 24px;
}
.journal-editor :is(form, fieldset) > label,
.form-columns > label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.journal-editor input,
.journal-editor select,
.journal-editor textarea,
.history-heading select {
  width: 100%;
  display: block;
  border: 1px solid #c7cbd2;
  border-radius: 5px;
  background: #fffefa;
  color: var(--ink);
  padding: 11px 13px;
  min-height: 46px;
  line-height: 1.7;
  margin-top: 8px;
}
.journal-editor select,
.history-heading select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%2364696d' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 36px;
}
.journal-editor textarea {
  resize: vertical;
  min-height: 150px;
  max-height: 500px;
}
.form-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.form-columns:has(#energy) {
  grid-template-columns: 1fr 1fr;
  gap: 0 15px;
}
.form-columns #energy {
  font-size: 1rem;
}
.form-columns > label:first-child:has(#energy) {
  grid-column: 1/-1;
}
.writing-prompt {
  font-size: 0.875rem;
  color: var(--accent);
  background: var(--soft);
  padding: 14px;
  margin-bottom: 20px;
  border-radius: 5px;
}
.journal-editor :is(form, fieldset) > .fineprint {
  margin-top: 16px;
}
.form-error {
  color: #a23829;
  font-size: 0.875rem;
  margin-bottom: 16px;
}
.report-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.report-heading h2 {
  font-size: 1.9rem;
}
.report-heading .eyebrow {
  margin-bottom: 7px;
  font-size: 0.6875rem;
}
.report-period {
  color: var(--muted);
  font-size: 0.8125rem;
  margin: 18px 0;
}
.report-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.report-stats > div {
  padding: 20px 14px;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 7px;
  text-align: center;
}
.report-stats strong {
  display: block;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 500;
  font-family: var(--serif);
}
.report-stats span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 6px;
}
body[data-site="health"] .report-stats {
  grid-template-columns: repeat(2, 1fr);
}
.activity-grid {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.activity-grid h3 {
  font-size: 0.9375rem;
  font-weight: 500;
}
.activity-days {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 5px;
  margin: 15px 0;
}
.activity-day {
  text-align: center;
  background: #eeeee7;
  border-radius: 4px;
  padding: 5px 0;
  color: #74796d;
  font-size: 0.6875rem;
}
.activity-day b {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
}
.activity-day.filled {
  background: var(--accent);
  color: #fff;
}
.activity-grid .fineprint {
  font-size: 0.75rem;
}
.history-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 30px 0 20px;
}
.history-heading h2 {
  font-size: 1.4rem;
  font-family: var(--sans);
  font-weight: 500;
}
.history-heading select {
  margin: 0;
  width: 190px;
  font-size: 0.875rem;
}
.log-entry {
  padding: 23px 25px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  margin-bottom: 15px;
}
.log-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 13px;
}
.log-meta span {
  text-align: right;
}
.log-entry h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 14px;
}
.log-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 1rem;
}
.next-note {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
  white-space: pre-wrap;
}
.next-note strong {
  display: block;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 5px;
  font-weight: 500;
}
.log-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--muted);
}
.log-footer > span {
  padding-top: 12px;
}
.delete-check {
  max-width: 220px;
}
.delete-check summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.8125rem;
}
.delete-check > div {
  padding: 14px;
  background: #f5ebe2;
  border-radius: 5px;
}
.delete-check p {
  font-size: 0.8125rem;
  margin-bottom: 10px;
}
.backup-tools {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 35px;
}
.backup-tools h3 {
  font-size: 1rem;
  font-weight: 500;
}
.backup-tools > p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 12px 0 20px;
}
.backup-tools .actions {
  gap: 8px;
}
.backup-tools .button {
  font-size: 0.8125rem;
  padding: 11px 13px;
}
.import-label {
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.import-label input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.import-label:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.backup-tools > .fineprint {
  font-size: 0.75rem;
  margin-top: 15px;
}
.about-prose {
  max-width: 850px;
  margin-bottom: 80px;
}
.about-block {
  padding: 45px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}
.about-block h2 {
  font-size: 2rem;
}
.about-block p {
  font-size: 1rem;
  line-height: 2;
  margin-top: 22px;
  color: var(--muted);
}
.about-block .fineprint {
  font-size: 0.8125rem;
}
.future-block {
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 35px;
  margin-top: 35px;
  border-radius: 8px;
}
.source-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}
.source-list li {
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}
.source-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.source-list span {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
}
.notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(540px, calc(100% - 32px));
  padding: 16px 24px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 30px #0002;
  z-index: 80;
  font-size: 0.9375rem;
  word-break: keep-all;
}
.notice.is-error {
  background: #833e31;
}
.noscript {
  padding: 20px;
  background: var(--soft);
  text-align: center;
  font-size: 1rem;
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 40px;
  }
  .hero h1 {
    font-size: 3.3rem;
  }
  .hero .actions {
    gap: 15px;
  }
  .header-inner {
    gap: 25px;
  }
  .header-inner nav {
    gap: 24px;
  }
  .program-grid {
    gap: 20px;
  }
  .program-info {
    padding: 20px;
  }
  .card-meta {
    font-size: 0.6875rem;
  }
  .intro {
    gap: 60px;
  }
  .journal-feature-grid {
    gap: 60px;
  }
  .principles {
    gap: 35px;
  }
  .principles article + article {
    padding-left: 30px;
  }
  .journal-layout {
    grid-template-columns: 340px 1fr;
    gap: 30px;
  }
  .detail-layout {
    gap: 40px;
    grid-template-columns: 240px 1fr;
  }
  .detail-hero {
    gap: 55px;
  }
  .family-links {
    gap: 0 15px;
  }
}
@media (max-width: 900px) {
  .hero {
    gap: 28px;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .header-start {
    display: none;
  }
  .header-inner nav {
    margin-right: 0;
  }
  .header-inner {
    height: 80px;
  }
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-site="health"] .program-grid {
    grid-template-columns: 1fr;
  }
  .program-info p {
    min-height: 0;
  }
  .journal-feature-grid {
    gap: 35px;
  }
  .journal-preview {
    padding: 28px;
  }
  .journal-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 25px;
  }
  .journal-editor {
    padding: 23px;
  }
  .report-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .history-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  .history-heading select {
    width: 100%;
  }
  .detail-layout {
    grid-template-columns: 210px 1fr;
    gap: 30px;
  }
  .detail-hero {
    gap: 35px;
  }
  .detail-hero h1 {
    font-size: 2.3rem;
  }
  .activity-days {
    grid-template-columns: repeat(7, 1fr);
  }
  .footer-top {
    gap: 35px;
  }
  .family-links {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  html {
    scroll-padding-top: 140px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 65px;
  }
  .compact {
    padding-top: 20px;
  }
  .family-inner {
    gap: 18px;
  }
  .family-label {
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }
  .family-inner nav {
    gap: 17px;
    font-size: 0.75rem;
  }
  .family-motto {
    display: none;
  }
  .header-inner {
    height: auto;
    padding-top: 14px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .brand,
  .brand b {
    font-size: 1.5rem;
  }
  .brand svg {
    width: 34px;
    height: 34px;
  }
  .header-inner nav {
    width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid var(--line);
    padding-top: 3px;
  }
  .header-inner nav a {
    font-size: 0.875rem;
    min-height: 46px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 44px 58px;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 9vw, 3.8rem);
    line-height: 1.4;
  }
  .hero-copy > p {
    font-size: 1rem;
    margin-top: 21px;
  }
  .hero .eyebrow {
    font-size: 0.6875rem;
    margin-bottom: 20px;
  }
  .hero .actions {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    margin-top: 25px;
  }
  .hero .button {
    padding-inline: 20px;
    font-size: 0.875rem;
  }
  .hero .text-link {
    font-size: 0.875rem;
  }
  .hero-footnote {
    font-size: 0.75rem;
  }
  .hero-visual {
    max-width: 500px;
    width: 100%;
    margin-inline: auto;
    margin-bottom: 8px;
  }
  .hero-visual > img {
    max-height: 440px;
    object-fit: cover;
  }
  .visual-caption {
    font-size: 1rem;
    right: 12px;
    top: -28px;
  }
  .hero-note {
    left: 12px;
    right: 14px;
    bottom: -20px;
    padding: 16px 18px;
    gap: 10px;
  }
  .hero-note strong {
    font-size: 0.9375rem;
  }
  .manifesto-strip .wrap {
    min-height: 92px;
    flex-wrap: wrap;
    gap: 3px;
    padding-block: 17px;
    position: relative;
  }
  .manifesto-strip span:first-child {
    width: 100%;
    font-size: 0.625rem;
  }
  .manifesto-strip p {
    font-size: 1rem;
    padding-right: 15px;
  }
  .manifesto-strip span:last-child {
    display: none;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .intro > p {
    font-size: 1rem;
    line-height: 2;
  }
  .eyebrow {
    font-size: 0.6875rem;
    margin-bottom: 17px;
  }
  h2 {
    font-size: 2rem;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 30px;
  }
  .section-head > p {
    font-size: 0.9375rem;
  }
  .program-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .program-cover {
    height: 245px;
  }
  .program-info {
    padding: 22px;
  }
  .card-meta {
    font-size: 0.75rem;
  }
  .program-info h3 {
    font-size: 1.25rem;
  }
  .program-info p {
    font-size: 1rem;
    margin-top: 8px;
  }
  .card-bottom {
    font-size: 0.75rem;
  }
  .section-heading {
    text-align: left;
    margin-bottom: 35px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .principles article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 27px 0 0;
  }
  .principle-symbol {
    font-size: 2.2rem;
    margin-bottom: 13px;
  }
  .principles h3 {
    margin-bottom: 12px;
  }
  .journal-feature {
    padding-block: 65px;
  }
  .journal-feature-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .journal-preview {
    margin: 0 5px;
    padding: 27px 24px;
  }
  .journal-preview h3 {
    font-size: 1.5rem;
  }
  .sample-note {
    font-size: 1rem;
  }
  .journal-feature-grid > div:last-child > p {
    font-size: 1rem;
  }
  .cross-section {
    padding-block: 40px;
  }
  .cross-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .cross-inner h2 {
    font-size: 1.6rem;
  }
  .cross-inner p {
    font-size: 1rem;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .faq-grid summary {
    font-size: 0.9375rem;
    min-height: 72px;
  }
  .closing {
    padding-block: 58px;
  }
  .closing h2 {
    font-size: 2rem;
  }
  .closing p {
    font-size: 0.9375rem;
  }
  .site-footer {
    padding: 35px 0 calc(20px + env(safe-area-inset-bottom));
  }
  .footer-top {
    flex-direction: column;
    gap: 28px;
  }
  .family-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
  }
  .family-links .eyebrow {
    font-size: 0.6875rem;
  }
  .family-links a {
    font-size: 0.875rem;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 4px 20px;
    margin-top: 23px;
    padding-top: 15px;
    font-size: 0.75rem;
  }
  .footer-bottom > span:last-child {
    width: 100%;
  }
  .page-heading {
    padding-top: 45px;
    padding-bottom: 30px;
  }
  .page-heading h1 {
    font-size: 2.4rem;
  }
  .page-heading p {
    font-size: 1rem;
    margin-top: 17px;
  }
  .catalog-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .search-label {
    min-width: 0;
  }
  .filters {
    gap: 7px;
  }
  .filter {
    padding-inline: 14px;
  }
  .detail-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 22px 0 45px;
  }
  .detail-hero h1 {
    font-size: 2.4rem;
  }
  .detail-hero p {
    font-size: 1rem;
  }
  .detail-meta {
    font-size: 0.75rem;
    gap: 8px 15px;
  }
  .detail-cover {
    height: 265px;
  }
  .detail-cover .cover-shape {
    scale: 1.1;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 65px;
  }
  .course-sidebar {
    position: static;
    padding: 24px;
  }
  .course-sidebar nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
  }
  .course-sidebar nav a {
    font-size: 0.8125rem;
  }
  .lesson {
    padding-block: 28px;
    scroll-margin-top: 125px;
  }
  .lesson h2 {
    font-size: 1.5rem;
  }
  .lesson-heading {
    gap: 10px;
  }
  .complete-label {
    font-size: 0.8125rem;
  }
  .assignment {
    padding: 20px;
  }
  .journal-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }
  .journal-editor {
    padding: 25px 22px;
  }
  .journal-editor > .muted {
    font-size: 0.9375rem;
  }
  .report-heading {
    flex-direction: row;
    align-items: center;
  }
  .report-heading h2 {
    font-size: 1.7rem;
  }
  .report-heading .button {
    font-size: 0.8125rem;
    padding-inline: 13px;
  }
  .report-stats {
    gap: 8px;
  }
  .report-stats > div {
    padding: 17px 8px;
  }
  .report-stats strong {
    font-size: 1.8rem;
  }
  .report-stats span {
    font-size: 0.75rem;
  }
  .activity-days {
    grid-template-columns: repeat(7, 1fr);
  }
  .activity-day {
    font-size: 0.75rem;
  }
  .history-heading {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  .history-heading h2 {
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  .history-heading select {
    width: 170px;
    min-width: 0;
    font-size: 0.8125rem;
  }
  .log-entry {
    padding: 20px;
  }
  .log-meta {
    font-size: 0.75rem;
  }
  .log-meta span {
    max-width: 55%;
  }
  .log-footer {
    gap: 8px;
    flex-wrap: wrap;
  }
  .delete-check {
    margin-left: auto;
  }
  .backup-tools .button {
    font-size: 0.8125rem;
  }
  .about-prose {
    margin-bottom: 55px;
  }
  .about-block {
    padding-block: 30px;
    scroll-margin-top: 130px;
  }
  .about-block h2 {
    font-size: 1.75rem;
  }
  .future-block {
    padding: 25px;
  }
  .notice {
    bottom: calc(16px + env(safe-area-inset-bottom));
    padding: 14px 18px;
    font-size: 0.875rem;
  }
  .gentle-note {
    font-size: 0.875rem;
  }
}
@media (max-width: 370px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .family-inner {
    gap: 12px;
  }
  .family-inner nav {
    gap: 12px;
  }
  .family-label {
    font-size: 0.6rem;
  }
  .hero h1 {
    font-size: 2.7rem;
  }
  .hero .actions {
    gap: 12px;
  }
  .hero .button {
    padding-inline: 15px;
  }
  .hero .text-link {
    font-size: 0.8125rem;
  }
  .hero-note {
    padding: 14px 13px;
  }
  .hero-note strong {
    font-size: 0.875rem;
  }
  .card-meta {
    font-size: 0.6875rem;
  }
  .program-info {
    padding: 19px;
  }
  .history-heading {
    flex-direction: column;
    align-items: stretch;
  }
  .history-heading select {
    width: 100%;
  }
  .report-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .report-heading h2 {
    font-size: 1.5rem;
  }
  .report-heading .button {
    font-size: 0.75rem;
    white-space: nowrap;
    padding: 10px;
  }
  .lesson-heading h2 {
    flex-basis: 100%;
  }
  .course-sidebar nav {
    grid-template-columns: 1fr;
  }
  .form-columns:has(#energy) {
    grid-template-columns: 1fr;
  }
  .family-links {
    gap: 0 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
  .button:hover,
  .program-card:hover {
    transform: none;
  }
}
@media print {
  body {
    background: #fff;
    color: #111;
    font-size: 11pt;
  }
  .familybar,
  .site-header,
  .site-footer,
  .skip,
  .journal-editor,
  .backup-tools,
  .notice,
  .delete-check,
  .report-heading button,
  .history-heading select,
  .history-heading label,
  noscript {
    display: none !important;
  }
  .wrap {
    width: 100%;
    max-width: none;
  }
  .page-heading {
    padding: 0 0 20px;
  }
  .page-heading h1 {
    font-size: 26pt;
  }
  .journal-layout {
    display: block;
    margin: 0;
  }
  .journal-dashboard {
    width: 100%;
  }
  .report-stats {
    break-inside: avoid;
  }
  .report-stats > div {
    background: #fff;
    border: 1px solid #999;
  }
  .log-entry {
    break-inside: avoid;
    border-color: #aaa;
  }
  .log-body {
    overflow-wrap: anywhere;
  }
  .activity-days {
    grid-template-columns: repeat(14, 1fr);
  }
  .activity-day.filled {
    background: #ddd;
    color: #111;
  }
  .log-footer > span {
    padding-top: 0;
  }
  .report-period {
    font-size: 9pt;
  }
  .log-meta,
  .fineprint {
    color: #444;
  }
  a {
    color: #111;
  }
  h1,
  h2,
  h3 {
    break-after: avoid;
  }
}

#log-fields {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.family-inner nav a {
  min-width: 44px;
  justify-content: center;
}
