:root {
  color-scheme: light;
  --paper: #f9f7ef;
  --ink: #333b31;
  --muted: #62685e;
  --line: #d9d9ca;
  --green: #405641;
  --terra: #a45237;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper) url("assets/paper.png"); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #996128; outline-offset: 4px; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico, .heart { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1180px, 86%); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: -100px; left: 8px; padding: 8px 20px; color: white; background: var(--green); }
.skip:focus { top: 8px; }
.masthead { border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.head-inner, .brand, nav, .head-action, .menu-button, .hero-actions, .primary, .text-link, .day-picker, .round-button, .section-head, .journal-title, .footer-inner, .back-top, .detail-head, .panel-top { display: flex; align-items: center; }
.head-inner { min-height: 86px; justify-content: space-between; gap: 30px; }
.brand { gap: 10px; width: fit-content; }
.brand img { object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font: 800 25px/1.15 var(--serif); letter-spacing: .07em; color: #373d32; }
.brand small { font: 600 8px/1.5 var(--mono); letter-spacing: .22em; margin-top: 3px; }
nav { gap: 38px; font-size: 14px; font-weight: 500; }
nav a, .text-link, .back-top { transition: color .18s; }
nav a:hover, .text-link:hover, .back-top:hover { color: var(--terra); }
.head-action { gap: 14px; justify-content: center; padding: 8px 18px; min-height: 41px; border: 1px solid #68735f; border-radius: 24px; font-size: 13px; font-weight: 650; transition: background .2s; }
.head-action:hover { background: #e8eade; }
.head-action .ico { width: 15px; height: 15px; }
.menu-button { display: none; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 80px); padding-block: clamp(52px, 5.8vw, 88px) clamp(58px, 5.9vw, 90px); }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 650 11px/1.4 var(--mono); letter-spacing: .16em; color: var(--terra); }
.eyebrow i { width: 27px; height: 1.5px; background: currentColor; }
.hero h1 { font: 800 clamp(52px, 5.2vw, 77px)/1.23 var(--serif); margin: 22px 0 19px; letter-spacing: -.066em; }
.hero h1 em { color: var(--terra); font-style: normal; }
.hero-desc { font-size: clamp(15px, 1.28vw, 18px); line-height: 1.9; color: #576052; letter-spacing: .015em; }
.hero-actions { gap: 25px; flex-wrap: wrap; margin-top: 30px; }
.primary { justify-content: center; gap: 11px; background: var(--green); color: #fffdf3; min-height: 48px; padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 620; transition: transform .18s, background .18s; }
.primary:hover { background: #334934; transform: translateY(-2px); }
.text-link { gap: 8px; font-size: 14px; font-weight: 550; min-height: 44px; }
.text-link .ico { width: 17px; }
.hero-art { width: 88%; justify-self: center; max-width: 477px; position: relative; isolation: isolate; margin-right: 1%; }
.sheet-back, .photo-print { background: #fdfbf3; box-shadow: 0 5px 15px #493a2322, 0 0 1px 1px #65583a17; }
.sheet-back { position: absolute; inset: 5px 1px -5px -4px; background: #e9e5d6; transform: rotate(-4.5deg); z-index: -1; }
.photo-print { position: relative; transform: rotate(3deg); padding: clamp(9px, .95vw, 14px); padding-bottom: 0; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 1.42; object-fit: cover; object-position: 50% 46%; background-color: #c6c6ab; }
.tape { position: absolute; top: -15px; left: 36%; width: 28%; height: 32px; z-index: 1; transform: rotate(-7deg); background: repeating-linear-gradient(90deg, #decc928f 0 3px, #e6d59cba 3px 7px); clip-path: polygon(0 6%, 8% 3%, 30% 6%, 60% 2%, 97% 0, 100% 9%, 97% 20%, 100% 33%, 97% 47%, 100% 61%, 97% 72%, 99% 91%, 53% 96%, 2% 100%, 4% 85%, 1% 73%, 4% 57%, 0 42%, 3% 29%); box-shadow: inset 0 0 0 1px #ae9d6e55; }
.photo-print figcaption { min-height: 52px; display: flex; align-items: center; gap: 13px; padding: 6px 8px; color: #595c49; font: 600 clamp(16px, 1.36vw, 20px)/1.4 "Kaiti SC", STKaiti, KaiTi, var(--serif); letter-spacing: .06em; }
.heart { width: 20px; height: 20px; color: var(--terra); transform: rotate(-12deg); }
.sun-stamp { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; right: -26px; bottom: -24px; width: clamp(76px, 6.8vw, 95px); aspect-ratio: 1; color: #8f5834; background: #efe2b8 url("assets/paper.png"); border: 2px solid currentColor; outline: 3px solid #efe2b8; border-radius: 50%; box-shadow: inset 0 0 0 3px #efe2b8, inset 0 0 0 4px #ae8758; transform: rotate(12deg); gap: 3px; }
.sun-stamp span, .sun-stamp small { font: 700 8px/1.2 var(--mono); letter-spacing: .12em; }
.sun-stamp small { font-size: 6.5px; }
.sun-stamp .ico { width: 31%; height: 31%; stroke-width: 2; }
.section { scroll-margin-top: 18px; }
.journal { background: #efefe5 url("assets/paper.png"); border-block: 1px solid var(--line); padding: 45px 0 54px; }
.section-head { justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 24px; }
h2 { font: 750 clamp(31px, 2.85vw, 44px)/1.3 var(--serif); letter-spacing: -.045em; }
.section-head h2, .faq h2 { margin-top: 7px; }
.journal-title { gap: 14px; }
.sample-tag { font-size: 11px; line-height: 1.6; color: #656b5b; border: 1px solid #c7c9b9; border-radius: 4px; padding: 0 6px; margin-top: 10px; }
.day-picker { gap: 13px; margin-bottom: 2px; }
.day-picker span { text-align: center; min-width: 96px; font-size: 13px; font-weight: 550; }
.round-button { justify-content: center; width: 35px; height: 35px; padding: 0; border-radius: 50%; border: 1px solid #bfc3b2; background: transparent; }
.round-button .ico { width: 15px; height: 15px; }
.round-button:hover:not(:disabled) { background: #e0e4d5; }
.round-button:disabled { opacity: .35; cursor: default; }
.previous .ico { transform: rotate(180deg); }
.entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(13px, 1.8vw, 25px); }
.entry { --accent: #9c5a37; --tint: #f3ead9; display: block; width: 100%; position: relative; isolation: isolate; text-align: left; padding: 21px 23px 17px; background: #fffcf4 url("assets/paper.png"); border: 1px solid #d7d6c8; border-radius: 8px; box-shadow: 0 3px 0 -1px #f6f4e9, 0 3px 0 #d7d6c8; transition: transform .18s, box-shadow .18s; }
.entry:hover { transform: translateY(-3px); box-shadow: 0 5px 12px #3a3e2a12; }
.entry.outing { --accent: #576744; --tint: #e6ebdb; }
.entry.sleep { --accent: #5c677f; --tint: #e8e9ee; }
.entry-top, .entry-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.entry-top time { font: 600 16px/1 var(--mono); letter-spacing: .02em; color: var(--accent); }
.entry-tag { font-size: 11px; font-weight: 580; background: var(--tint); color: var(--accent); border-radius: 3px; padding: 1px 7px; }
.entry-main { min-height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.entry-main strong { font: 730 clamp(19px,1.68vw,25px)/1.45 var(--serif); letter-spacing: -.04em; }
.entry-main img { width: 60px; height: 53px; object-fit: contain; flex: 0 0 auto; }
.entry.outing .entry-main img { width: 73px; }
.entry-bottom { border-top: 1px dashed #cecebf; padding-top: 10px; font-size: 12px; color: var(--muted); }
.entry-bottom .ico { width: 15px; height: 15px; }
.features { padding-block: 72px 75px; }
.feature-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(25px, 5vw, 84px); align-items: stretch; margin-top: 30px; }
.feature-options { display: flex; flex-direction: column; justify-content: center; }
.feature-options button { border: 0; background: transparent; display: flex; align-items: center; text-align: left; gap: 14px; padding: 18px 13px; border-bottom: 1px solid var(--line); min-height: 90px; }
.feature-options button:first-child { border-top: 1px solid var(--line); }
.feature-options button[aria-selected="true"] { background: #e8ecdf; border-radius: 6px; }
.feature-icon { display: grid; place-items: center; width: 43px; height: 43px; flex: none; border: 1px solid #c5cbba; color: var(--green); border-radius: 50%; }
.feature-options b, .feature-options small, .draft-row b, .draft-row small, .handoff b, .handoff small { display: block; }
.feature-options b { font: 700 22px/1.35 var(--serif); }
.feature-options small { margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.indicator { margin-left: auto; width: 16px; opacity: .35; }
[aria-selected="true"] .indicator { opacity: 1; }
.feature-stage { position: relative; background: #f3eddf url("assets/paper.png"); border: 1px solid #d9d1bf; border-radius: 8px; }
.feature-panel { padding: 27px 32px; }
.panel-top { gap: 7px; color: var(--terra); font-size: 12px; font-weight: 600; }
.feature-panel h3, .feature-panel blockquote { margin: 16px 0; font: 650 clamp(22px, 2vw, 30px)/1.6 var(--serif); }
.feature-panel p { font-size: 13px; line-height: 1.75; color: var(--muted); }
.draft-row, .handoff { display: flex; align-items: center; gap: 11px; padding: 8px 14px; margin-bottom: 13px; border-radius: 6px; border: 1px solid #d6cebc; background: #fcfaf2; font-size: 14px; }
.draft-row img { object-fit: contain; height: 38px; }
.draft-row small, .handoff small { color: var(--muted); font-size: 12px; }
.draft-label { margin-left: auto; font-size: 11px; color: #925735; }
.outing-stops, .handoff-items { padding: 0; margin: 0 0 14px; list-style: none; }
.outing-stops li, .handoff-items li { margin: 6px 0; font-size: 14px; }
.outing-stops li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: #819375; border-radius: 50%; margin-right: 8px; }
.feature-panel time { font-family: var(--mono); color: #5f6b58; margin-right: 12px; }
.handoff img { border-radius: 50%; object-fit: cover; width: 36px; height: 36px; }
.faq { padding: 58px 0 65px; border-block: 1px solid var(--line); background: #efeee3 url("assets/paper.png"); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.65fr; gap: 40px; }
.questions details { border-bottom: 1px solid #cccfbe; }
.questions details:first-child { border-top: 1px solid #cccfbe; }
.questions summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; font-size: 16px; font-weight: 550; }
.questions summary::-webkit-details-marker { display: none; }
.questions .ico { width: 16px; color: #69775c; }
.questions [open] .ico { transform: rotate(45deg); }
.questions p { color: #576051; font-size: 14px; line-height: 1.85; padding: 0 28px 18px 0; }
.footer-inner { padding-block: 27px; gap: 20px; }
.footer .brand strong { font-size: 21px; }
.footer p { color: var(--muted); font-size: 13px; }
.footer-registration { text-align: center; border-top: 1px solid var(--line); }
.footer-registration a { display: inline-block; padding: 12px 6px; text-decoration: underline; text-underline-offset: 3px; }
.footer-registration a:hover { color: var(--terra); }
.back-top { gap: 6px; margin-left: auto; font-size: 13px; }
.back-top .ico { width: 14px; }
dialog { color: var(--ink); width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; background: #faf7ed url("assets/paper.png"); border: 1px solid #d3cdba; border-radius: 13px; box-shadow: 0 18px 80px #222a2340; }
dialog::backdrop { background: #26302580; }
body:has(dialog[open]) { overflow: hidden; }
.detail-inner { padding: 22px 27px 27px; }
.detail-head { justify-content: space-between; }
#detail-date { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.detail-icon { float: right; object-fit: contain; margin: 0 0 10px 7px; }
#detail-title { font-size: 30px; margin: 8px 0 20px; }
#detail-fields { clear: both; }
#detail-fields div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
#detail-fields dt { color: var(--muted); }
.detail-note { font: 580 17px/1.7 var(--serif); margin-top: 19px; }
@media (max-width: 1000px) {
  .wrap { width: 89%; }
  .hero { gap: 18px; }
  .hero-art { width: 90%; }
  .hero h1 { font-size: clamp(42px,5.6vw,57px); }
  .hero-actions { gap: 14px; }
  .feature-layout { gap: 24px; }
  .entry { padding-inline: 15px; }
  .entry-main img { width: 45px; }
  .entry.outing .entry-main img { width: 54px; }
}
@media (max-width: 700px) {
  .wrap { width: min(88%, 500px); }
  .head-inner { min-height: 65px; gap: 12px; }
  .brand { gap: 7px; }
  .brand img { width: 34px; height: 31px; }
  .brand strong { font-size: 20px; }
  .brand small { font-size: 6.4px; }
  .head-action { margin-left: auto; padding: 6px 11px; min-height: 34px; gap: 5px; font-size: 12px; }
  .menu-button { display: flex; justify-content: center; min-height: 44px; width: 34px; padding: 0; border: 0; background: transparent; }
  nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 6% 10px; border-block: 1px solid var(--line); background: #f8f6ed; box-shadow: 0 8px 15px #4b473009; }
  nav.is-open { display: flex; }
  nav a { padding: 12px; }
  .hero { grid-template-columns: 1fr; gap: 43px; padding-block: 37px 49px; }
  .hero h1 { font-size: clamp(42px, 10.3vw, 55px); margin-block: 16px 13px; line-height: 1.2; }
  .hero-desc { font-size: 14px; }
  .eyebrow { font-size: 10px; }
  .hero-actions { margin-top: 20px; gap: 19px; }
  .primary { padding: 9px 15px; min-height: 43px; font-size: 14px; }
  .text-link { font-size: 13px; }
  .hero-art { width: 84%; max-width: 350px; }
  .hero-photo { aspect-ratio: 1.53; }
  .photo-print figcaption { min-height: 39px; font-size: 14px; gap: 5px; }
  .heart { width: 16px; }
  .tape { top: -11px; height: 25px; }
  .sun-stamp { width: 66px; right: -21px; bottom: -16px; gap: 2px; }
  .sun-stamp span { font-size: 6.5px; }
  .sun-stamp small { font-size: 5.5px; }
  .journal { padding-block: 32px 36px; }
  .section-head { align-items: flex-start; flex-wrap: wrap; margin-bottom: 17px; }
  .day-picker { align-self: flex-end; gap: 4px; }
  .day-picker span { min-width: 82px; font-size: 12px; }
  .round-button { width: 29px; height: 29px; }
  .journal-title { gap: 7px; }
  .sample-tag { font-size: 10px; margin-top: 8px; }
  h2 { font-size: 30px; }
  .entries { grid-template-columns: 1fr; gap: 12px; }
  .entry { padding: 15px 17px 11px; }
  .entry-main { min-height: 57px; }
  .entry-main strong { font-size: 22px; }
  .entry-main img { height: 47px; }
  .entry.outing .entry-main img { width: 68px; }
  .entry-bottom { padding-top: 7px; }
  .features { padding-block: 41px; }
  .feature-layout, .faq-layout { grid-template-columns: 1fr; gap: 19px; }
  .feature-layout { margin-top: 16px; }
  .feature-options button { padding: 10px 11px; min-height: 69px; gap: 9px; }
  .feature-icon { width: 36px; height: 36px; }
  .feature-options b { font-size: 19px; }
  .feature-options small { font-size: 12px; }
  .feature-panel { padding: 20px; }
  .wide-only { display: none; }
  .faq { padding-block: 35px; }
  .questions summary { font-size: 14px; min-height: 54px; }
  .footer-inner { gap: 12px; flex-wrap: wrap; }
  .footer .brand strong { font-size: 18px; }
  .footer p, .back-top { font-size: 12px; }
}
@media (min-width: 701px) and (max-width: 820px) {
  .hero-actions { gap: 10px; }
  .primary { padding-inline: 13px; }
  nav { gap: 20px; }
  .feature-panel { padding: 20px; }
}
@media (max-width: 390px) {
  .day-picker { align-self: auto; }
  .journal .section-head { flex-direction: column; gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
