@font-face{font-family:'Fraunces';src:url('fonts/fraunces.woff') format('woff');font-weight:300 500;font-display:swap}@font-face{font-family:'Caveat';src:url('fonts/caveat-500.woff') format('woff');font-weight:400 500;font-display:swap}@font-face{font-family:'Caveat';src:url('fonts/caveat-600.woff') format('woff');font-weight:600 700;font-display:swap}@font-face{font-family:'DM Sans';src:url('fonts/dmsans.woff') format('woff');font-weight:400 600;font-display:swap}

:root{color-scheme:light;--paper:#fffefa;--background:#f9f8f3;--ink:#424947;--muted:#727b72;--green:#526b56;--green-hover:#405a45;--line:#e2e6da;--pink:#efd5d9;--hand:'Caveat','Bradley Hand','Segoe Print',cursive;--title:'Fraunces',Georgia,'Times New Roman',serif;--body:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-family:var(--body);font-size:16px;color:var(--ink);background:var(--background);font-synthesis:none;text-rendering:optimizeLegibility}
*{box-sizing:border-box}body{margin:0;min-width:300px}button,select,textarea{font:inherit}button,a,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button,select,textarea{color:inherit}button{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #9fafa0;outline-offset:5px}button[hidden],[hidden]{display:none!important}p{margin:0}svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}a{color:inherit}.masthead{height:96px;max-width:1160px;padding:0 32px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.wordmark{display:inline-flex;align-items:center;gap:10px;font:600 1.95rem/1 var(--hand);text-decoration:none;white-space:nowrap}.wordmark img{transform:rotate(-12deg)}.book-name{font-size:.875rem;color:var(--muted)}.main{max-width:1100px;margin:auto;padding:0 32px}.introduction{text-align:center;padding:31px 0 36px}.eyebrow{font-size:.75rem;letter-spacing:.16em;color:#778473;font-weight:500;line-height:1.5}.introduction h1{font:400 clamp(2.8rem,6.2vw,4.6rem)/1.1 var(--title);letter-spacing:-.02em;margin:16px 0 13px}.introduction h1 span{position:relative;display:inline-block;z-index:0}.introduction h1 span:after{content:'';position:absolute;left:-3%;right:-5%;height:.16em;bottom:.12em;transform:rotate(-1.6deg);z-index:-1;background:repeating-linear-gradient(0deg,#f3e1e5 0 2px,#f7e8e9 2px 3px);border-radius:20% 40% 30% 20%}.intro-copy{font-size:1rem;line-height:1.75;color:var(--muted);margin-bottom:24px}.button{border:1px solid transparent;border-radius:9px;min-height:48px;padding:12px 22px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:500;font-size:.95rem;line-height:1.5;transition:background .15s,transform .15s;white-space:nowrap}.button.primary{background:var(--green);color:#fffefa;box-shadow:0 3px 0 #3d55431a}.button.primary:hover{background:var(--green-hover)}.button:active{transform:translateY(1px)}.plus{font-size:1.5rem;font-weight:400;line-height:1}.button.secondary{border-color:#d9dfd3;background:transparent;color:var(--ink)}.button.secondary:hover{background:#f2f4ed}.button.danger{background:#8b565e;color:white}.garden-paper{background:var(--paper);border:1px solid #e5e7dd;border-radius:22px 25px 21px 26px;position:relative;overflow:hidden;box-shadow:0 8px 25px #555d4010,0 1px 2px #555d4008;min-height:440px;isolation:isolate}.garden-topline{position:relative;z-index:2;display:flex;justify-content:space-between;gap:16px;padding:21px 25px 0;color:#7c8576;font-size:.875rem;line-height:1.5}.garden-topline>span:first-child{font:500 1.2rem var(--hand)}.garden-landscape{position:absolute;inset:0;z-index:-1;pointer-events:none;display:flex;align-items:end}.garden-landscape svg{width:100%;height:470px;max-height:100%;stroke:none;fill:none;min-height:250px}.hill-back{fill:#eef2e6;opacity:.73}.hill-front{fill:#e7eddd;opacity:.65}.garden-path{stroke:#fffaf0;stroke-width:25;stroke-linecap:round;opacity:.75}.pencil-grass{stroke:#bdccac;stroke-width:1.7;opacity:.65}.empty-garden{min-height:358px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:5px 20px 42px}.empty-flower{width:110px;height:111px;margin:0 0 5px;transform:rotate(-5deg);position:relative}.botanical{display:block;width:100%;height:100%;background-image:url('assets/botanical-atlas.webp');background-size:300% 200%;background-repeat:no-repeat;pointer-events:none}.botanical.mirror{transform:scaleX(-1)}.motif-0{background-position:0% 0%}.motif-1{background-position:50% 0%}.motif-2{background-position:100% 0%}.motif-3{background-position:0% 100%;clip-path:inset(0 8% 0 0)}.motif-4{background-position:50% 100%}.empty-garden h2{font:400 1.5rem/1.25 var(--title);margin:3px 0 10px;color:#626e5f}.empty-garden p{font-size:.9375rem;line-height:1.75;color:#858b7c}.empty-note{font:500 1.2rem var(--hand);color:#85927c;margin-top:13px}.garden-whisper{font:500 1.2rem/1.3 var(--hand);color:#849375;text-align:center;position:relative;padding:0 20px 19px}.garden-bed{min-height:343px;display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-end;align-items:end;gap:18px 13px;padding:38px 30px 38px;position:relative;z-index:1}.plant{flex:0 0 101px;width:101px;min-height:147px;position:relative;list-style:none}.plant-button{border:0;background:transparent;width:100%;min-height:147px;padding:0 0 4px;display:flex;align-items:center;justify-content:end;flex-direction:column;border-radius:14px;position:relative;transition:background .18s}.plant-button:hover{background:#f1f2e780}.plant-image{width:106px;height:114px;display:block;transform-origin:50% 95%;transition:transform .25s}.plant-button:hover .plant-image{transform:rotate(-3deg) translateY(-3px)}.plant-week{font-size:.875rem;color:#72816b;line-height:1.5;display:block;padding:4px 2px}.plant-title{font-size:.875rem;position:absolute;bottom:150px;max-width:210px;min-width:140px;background:#fffdf6;padding:11px 14px;box-shadow:0 4px 17px #37433018;border:1px solid #e1e5d8;border-radius:8px;opacity:0;visibility:hidden;transition:opacity .15s;pointer-events:none;z-index:4;line-height:1.5;overflow-wrap:anywhere}.plant-button:hover .plant-title,.plant-button:focus-visible .plant-title{opacity:1;visibility:visible}.plant.just-planted .plant-image{animation:bloom .5s cubic-bezier(.2,.7,.3,1) both}@keyframes bloom{from{transform:translateY(12px) scale(.65);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.footer{text-align:center;margin:22px auto 25px;max-width:660px;color:var(--muted)}.storage-note{display:flex;align-items:center;justify-content:center;gap:6px;font-size:.875rem;line-height:1.65}.storage-note svg{opacity:.8;flex-shrink:0}.backup-options{font-size:.875rem;line-height:1.7;margin:7px auto 0;max-width:540px}.backup-options summary{display:inline-block;cursor:pointer;text-decoration:underline;text-decoration-color:#b4beaa;text-underline-offset:4px;padding:5px 6px;list-style:none;min-height:36px}.backup-options summary::-webkit-details-marker{display:none}.backup-options>p{padding:9px 12px 0}.backup-actions{display:flex;justify-content:center;align-items:center;gap:12px}.text-button{border:0;background:transparent;text-decoration:underline;text-decoration-color:#bac3b3;text-underline-offset:4px;min-height:44px;padding:9px 4px;font-size:.875rem;color:#63745c}.text-button:hover{color:#3c563a}.book-footer{font-size:.8125rem;line-height:1.7;margin-top:21px;color:#8c9387}.book-footer em{font-style:normal}.notice{font-size:.9375rem;line-height:1.7;padding:14px 20px;border:1px solid #e5cfb1;background:#fff8eb;border-radius:9px;margin:0 0 20px;color:#805f37;overflow-wrap:anywhere}.memory-dialog{border:1px solid #e0e4d8;border-radius:19px;padding:0;background:var(--paper);color:var(--ink);width:min(520px,calc(100% - 28px));max-height:calc(100dvh - 40px);box-shadow:0 20px 100px #2c3e2940;overflow-y:auto;overscroll-behavior:contain}.memory-dialog::backdrop{background:#34403155;backdrop-filter:blur(3px)}.dialog-content{padding:35px 34px 30px;position:relative}.close-button{position:absolute;top:13px;right:12px;background:transparent;border:0;width:44px;height:44px;display:grid;place-items:center;color:#7b8477;border-radius:50%}.close-button:hover{background:#f0f2e9}.dialog-eyebrow{font-size:.6875rem;line-height:1.8;letter-spacing:.12em;color:#8a9482;padding-right:20px}.memory-dialog h2{font:400 2rem/1.15 var(--title);margin:9px 0 25px}.field-label{font-size:.9375rem;font-weight:500;display:block;margin-bottom:9px}.achievement-label{margin-top:23px}.select-wrapper{position:relative}.select-wrapper svg{position:absolute;right:13px;top:16px;pointer-events:none;color:#7f8b77}.select-wrapper select{appearance:none;-webkit-appearance:none;width:100%;border:1px solid #d8dfcf;border-radius:8px;background:#fffffb;padding:13px 38px 13px 13px;font-size:1rem;line-height:1.4;min-height:49px;text-overflow:ellipsis}.select-wrapper select:focus,textarea:focus{outline:2px solid #93a98d;outline-offset:2px}textarea{display:block;resize:vertical;width:100%;max-height:230px;min-height:110px;background:#fffefa;border:1px solid #d8dfcf;border-radius:8px;padding:13px 14px;font-size:1rem;line-height:1.6;caret-color:var(--green)}textarea::placeholder{color:#9b9f92}.field-help{display:flex;align-items:start;gap:10px;justify-content:space-between;margin-top:8px;font-size:.875rem;line-height:1.6;color:#808879}.field-help p{max-width:290px}.field-help span{white-space:nowrap}.existing-note,.memory-date{font-size:.875rem;line-height:1.65;color:#7d8775;margin:15px 0 0}.memory-date{margin-top:10px;color:#919787;font-size:.8125rem}.dialog-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:25px}.dialog-actions .remove-button{margin-right:auto;color:#94716f}.remove-confirmation{border-top:1px solid #e5e3d9;margin-top:24px;padding-top:22px}.remove-confirmation h3{font-size:1rem;font-weight:500;margin:0 0 8px}.remove-confirmation p,.import-dialog p{font-size:.9375rem;line-height:1.75;color:var(--muted)}.confirmation-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;flex-wrap:wrap}.form-error{color:#92525a;font-size:.875rem;line-height:1.65;margin-top:14px}.import-dialog #import-summary{margin-bottom:12px}.import-dialog .dialog-content{padding-top:29px}.toast{position:fixed;bottom:max(23px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:20;background:#465d49;color:#fffdf5;box-shadow:0 5px 25px #1f351e22;border-radius:10px;max-width:calc(100vw - 32px);padding:13px 19px;display:flex;align-items:center;gap:15px;font-size:.9375rem;line-height:1.5;width:max-content}.toast .text-button{color:#fffdf5;text-decoration-color:#c3d2bc;min-height:28px;padding:0 3px}.main.dialog-open{pointer-events:none}

@media(max-width:650px){.masthead{height:77px;padding:0 21px;justify-content:center}.wordmark{font-size:1.85rem}.book-name{display:none}.main{padding:0 16px}.introduction{padding:24px 0 29px}.eyebrow{font-size:.6875rem;letter-spacing:.115em}.introduction h1{margin-top:14px;font-size:2.9rem}.intro-copy{font-size:.9375rem;line-height:1.75;margin-bottom:21px}.garden-paper{min-height:415px;border-radius:18px 23px 18px 22px}.garden-topline{padding:18px 18px 0;font-size:.8125rem;align-items:center;gap:8px}.garden-topline>span:first-child{font-size:1.15rem}.empty-garden{min-height:337px;padding-bottom:34px}.empty-garden h2{font-size:1.35rem}.empty-garden p{font-size:.875rem}.garden-whisper{font-size:1.125rem}.garden-bed{padding:31px 13px 28px;gap:14px 6px;min-height:321px}.plant{flex-basis:85px;width:85px;min-height:133px}.plant-button{min-height:133px}.plant-image{width:91px;height:100px}.plant-title{display:none}.footer{margin-top:21px}.book-footer{font-size:.75rem;max-width:290px;margin:16px auto 0}.dialog-content{padding:33px 23px 24px}.memory-dialog h2{font-size:1.75rem}.dialog-eyebrow{font-size:.625rem;letter-spacing:.08em}.field-help{font-size:.8125rem;gap:15px}.dialog-actions{flex-wrap:wrap}.dialog-actions .button{padding-left:17px;padding-right:17px}.confirmation-actions .button{flex:1;padding-left:12px;padding-right:12px}.toast{font-size:.875rem;top:max(14px,env(safe-area-inset-top));bottom:auto}.notice{font-size:.875rem;padding:12px 16px}.backup-options{font-size:.8125rem}.backup-actions{gap:8px}.backup-actions .text-button{font-size:.8125rem}.storage-note{font-size:.8125rem}.memory-dialog{max-height:calc(100dvh - 24px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.memory-dialog::backdrop{backdrop-filter:none}}
