:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#253b32;background:#f6f3ed;font-synthesis:none;--green:#254b3c;--muted:#59645d;--line:#dcded5;--paper:#fffefb}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea,summary{touch-action:manipulation}a{color:var(--green)}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}button,.photo-picker{min-height:48px}button{border:1px solid transparent;border-radius:10px;padding:12px 18px;font-weight:500;background:none;color:var(--green)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #a56429;outline-offset:3px}.primary{background:var(--green);color:white}.secondary{border-color:#a8b6ab;background:#f5f8f2}.quiet{text-decoration:underline;text-underline-offset:4px}.journal-header{max-width:1020px;margin:auto;padding:24px 24px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.wordmark{font:400 23px Georgia,serif;text-decoration:none}.wordmark span{display:block;font:12px -apple-system,sans-serif;letter-spacing:.09em;margin-top:4px}.journal-shell{max-width:900px;margin:auto;padding:22px 24px 60px}.narrow{max-width:460px;margin:36px auto}.panel{background:var(--paper);border:1px solid var(--line);padding:28px;border-radius:18px;margin-bottom:20px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.16em;font-weight:500;color:var(--muted);margin:0 0 10px}h1,h2,h3{font-family:Georgia,serif;font-weight:400;line-height:1.15}h1{font-size:clamp(28px,3.5vw,36px);margin:8px 0 20px}h2{font-size:24px}h3{font-size:20px}p{line-height:1.65}.muted,.hint,.optional{color:var(--muted)}.hint{font-size:13px;margin:8px 0 20px}.optional{font-weight:400;font-size:12px;margin-left:6px}label{display:block;font-size:14px;font-weight:500;margin:22px 0 8px}input,textarea{width:100%;padding:14px;border:1px solid #aab6aa;border-radius:9px;background:#fff;font-size:16px;color:#20342a}input:focus,textarea:focus{outline:2px solid var(--green);outline-offset:2px}textarea{resize:vertical;line-height:1.6}input[type=date]{min-width:0;min-height:49px}form>button.primary{margin-top:24px;width:100%}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:15px 0}.section-heading h1{margin-bottom:0}.badge{font-size:12px;border-radius:30px;background:#e9eee5;padding:8px 12px;white-space:nowrap}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.photo-picker{border:1px dashed #819b8a;border-radius:12px;background:#f0f4ed;padding:26px 18px;display:flex;flex-direction:column;align-items:center;gap:5px;cursor:pointer;text-align:center;margin-top:18px}.photo-picker span:last-child{font-size:13px;font-weight:400;color:var(--muted)}.photo-icon{font-size:30px}.photo-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.photo-tile{min-width:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:white}.photo-tile img{width:100%;height:145px;object-fit:cover;display:block}.photo-tile label{font-size:12px;margin:10px 10px 5px}.photo-tile input{width:calc(100% - 20px);margin:0 10px;font-size:16px;padding:8px}.photo-tools{display:flex;justify-content:space-between;padding:3px}.photo-tools button{padding:8px;font-size:12px}.preserve-lines{white-space:pre-wrap}.editor-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:8px;padding:14px 0 max(14px,env(safe-area-inset-bottom));background:#f6f3edee;backdrop-filter:blur(10px);z-index:2}.entry-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.entry-card{padding:0;text-align:left;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--paper);display:block;width:100%;text-decoration:none}.entry-card img{width:100%;height:220px;object-fit:cover;display:block}.entry-card .entry-copy{padding:20px}.entry-card h2{margin:8px 0 12px}.entry-card p{font-weight:400;margin:8px 0}.entry-meta{font-size:12px;color:var(--muted);font-weight:400}.entry-placeholder{height:90px;background:#e9eee5;display:grid;place-items:center;font:22px Georgia,serif}.journal-footer{max-width:1020px;margin:auto;padding:22px 24px;display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}#notice{line-height:1.5;overflow-wrap:anywhere}#notice:not(:empty){border-left:3px solid #a56429;padding:12px 16px;margin-bottom:18px;background:#fff9ed}#mfa-qr{max-width:220px;display:block;margin:20px auto}#mfa-secret{font-family:monospace;font-size:13px}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}#photos:focus-visible+.hint{outline:2px solid var(--green)}[hidden]{display:none!important}.story-photo{margin:24px 0}.story-photo img{width:100%;height:auto;border-radius:12px;display:block}.story-photo figcaption{font-size:13px;color:var(--muted);margin-top:8px}.story-text{white-space:pre-wrap;line-height:1.75;font-size:16px}.empty{padding:32px;border:1px dashed #b4c0b1;border-radius:16px;text-align:center}.admin #entry-narrative{min-height:200px}@media(max-width:600px){.journal-header{padding:20px 18px 16px}.journal-shell{padding:18px 16px 36px}.panel{padding:20px 17px;border-radius:14px}.narrow{margin:16px auto}.field-pair{grid-template-columns:1fr}.photo-list{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-tile img{height:150px}.entry-list{grid-template-columns:1fr}.section-heading{align-items:flex-start}.section-heading>.primary{padding:12px;white-space:nowrap;font-size:14px}.editor-actions{gap:5px}.editor-actions button{padding:12px 11px;font-size:14px}.journal-footer{flex-direction:column;padding:20px 18px}.wordmark{font-size:22px}h1{font-size:28px}}@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s ease}}

.photo-location{padding:.75rem 0;overflow-wrap:anywhere}.photo-location button{display:block;margin:.75rem 0}.location-choice{display:flex;align-items:center;gap:.75rem;min-height:48px}.location-choice input[type=checkbox]{width:24px;height:24px;min-height:24px;flex:0 0 24px}

/* Portrait covers sit intact inside the same quiet landscape frame. */
.entry-card img,.photo-tile img{width:100%;height:auto;aspect-ratio:3 / 2;object-fit:contain;object-position:center;background:#eeeee9}
.story-photo img{width:100%;height:auto;max-height:80vh;max-height:80svh;object-fit:contain;object-position:center;background:#eeeee9}
