body{--accent:#765139;--soft:#f2e5d6}header{gap:15px}header .tools{display:flex;gap:6px}header .tools button{font-size:12px;padding:6px 10px}nav{max-width:1164px;margin:12px auto;display:flex;gap:10px;padding:0 20px}nav button{border:0;background:transparent}nav button[aria-current=page]{background:var(--accent);color:white}.hero{background:#eee5d5;padding:38px;border-radius:28px;margin:12px 0 35px;position:relative}.hero h1{font-size:clamp(40px,7vw,76px);line-height:1.05;letter-spacing:-2px;font-weight:500;margin:10px 0 20px}.hero em,.welcome em{font-family:Newsreader,Georgia,serif;font-weight:normal;color:#765139}.hero .toolbar{margin:28px 0 0}.section-head{display:flex;justify-content:space-between;gap:10px;align-items:center}main>section{margin-bottom:35px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:20px}.memory{border:1px solid #dfdbd1;border-radius:23px;overflow:hidden;background:#fffdf8;min-width:0}.memory>img{width:100%;height:190px;object-fit:cover}.memory-body{padding:23px}.memory h3{font-size:24px;margin:7px 0 12px;overflow-wrap:anywhere}.memory .eyebrow{letter-spacing:1.1px}.when{font-weight:bold;color:#765139}.excerpt{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px}.detail-photo{width:100%;max-height:360px;object-fit:contain;border-radius:15px}.full-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0}.memory-body button{width:100%}footer{padding:20px}#entry .check{font-size:14px}@media(max-width:700px){header{align-items:flex-start}.tools{flex-direction:column}header .brand small{margin-left:54px}nav{justify-content:space-between;gap:1px;padding:0 12px}nav button{font-size:13px;padding:8px 10px}.hero{padding:25px}.hero h1{font-size:48px}.hero .toolbar{flex-direction:column}.cards{grid-template-columns:1fr}.section-head h2{font-size:23px}.section-head button{font-size:12px;flex-shrink:0}.memory>img{height:210px}.memory-body{padding:20px}}@media print{nav,.hero,.two{display:none!important}.cards{display:block}.memory{break-inside:avoid;margin-bottom:20px;border:1px solid #ccc}.memory .excerpt{max-height:none}.memory img{height:180px;width:auto;max-width:100%}dialog[open]{display:block!important;position:static;max-height:none;width:100%;border:0}.full-text{display:block}body:has(dialog[open]) main{display:none}}

.photo-download{display:inline-flex;align-items:center;min-height:48px;padding:10px 16px;border:1px solid #cbd2c5;border-radius:14px}.print-full{display:none}#dialog-status{position:static;margin:18px 0 0}input[type=file]{max-width:100%}@media print{.excerpt{display:none}.print-full{display:block;white-space:pre-wrap;overflow-wrap:anywhere}.photo-download{display:none}}
