@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:light;--bg:#f8f9f6;--paper:#fff;--ink:#1d2922;--muted:#626e65;--green:#285540;--line:#e6eae3;--soft:#e8efe7;font-family:"DM Sans",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-size:16px}
*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}.ico{width:20px;height:20px;flex:none;vertical-align:middle}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #779d75;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:Manrope,system-ui,sans-serif}h1{font-size:clamp(1.85rem,4vw,2.45rem);letter-spacing:-.06em;line-height:1.13;font-weight:800}h2{letter-spacing:-.045em;font-size:1.48rem}h3{font-size:1.1rem;letter-spacing:-.025em}.muted{color:var(--muted)}.small{font-size:.84rem}.sidebar{position:fixed;z-index:3;inset:auto 0 0;background:var(--paper);border-top:1px solid var(--line);padding:.35rem .45rem calc(.35rem + env(safe-area-inset-bottom));}.brand,.sidebar-end{display:none}.sidebar nav{display:flex;justify-content:space-around;gap:.12rem}.nav{border:0;background:none;color:var(--muted);font-weight:700;text-align:left;display:flex;align-items:center;gap:.66rem;border-radius:.65rem;padding:.65rem .8rem;font-size:.9rem}.nav.active,.nav:hover{color:var(--green);background:var(--soft)}.sidebar nav .nav{font-size:.63rem;padding:.45rem .25rem;flex-direction:column;gap:.3rem;min-width:22%}
main{max-width:1300px;margin:auto;padding:1.65rem 1.1rem 6rem;outline:none}.mobile-tools{display:flex;gap:.4rem;margin-bottom:1rem;justify-content:flex-end}.heading{display:flex;justify-content:space-between;align-items:center;gap:.65rem;margin-bottom:1.55rem}.heading p{margin-top:.45rem;font-size:.96rem}.btn{display:inline-flex;justify-content:center;align-items:center;gap:.5rem;color:var(--green);background:#fff;border:1px solid var(--line);padding:.66rem .88rem;border-radius:.62rem;font-weight:700;text-decoration:none;line-height:1.25;font-size:.89rem;white-space:nowrap}.btn:hover{background:var(--soft)}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.primary:hover{background:#1d4532}.btn .ico{width:17px;height:17px}.icon-btn{padding:.55rem}.hero{position:relative;isolation:isolate;overflow:hidden;background:#e4ede2;border:1px solid #dde7da;border-radius:1.05rem;min-height:227px;padding:1.75rem 1.15rem;display:flex;align-items:center}.hero-content{z-index:1}.hero h2{font-size:clamp(1.65rem,4vw,2.48rem);font-weight:800;letter-spacing:-.065em;color:#233f30;line-height:1.08}.hero p{margin:.7rem 0 1.15rem;color:#425b49;max-width:28rem;font-size:.95rem}.hero .btn{background:#f9fcf8;border-color:#cbd9c9}.art{display:none;position:absolute;right:8%;bottom:0;width:260px;height:222px;pointer-events:none}.art .orbit{position:absolute;border:1px solid #b7cdb7;border-radius:50%;width:215px;height:215px;top:8px;right:10px}.art .orbit:nth-child(2){width:260px;height:260px;right:-13px;top:-15px;opacity:.6}.box{position:absolute;bottom:23px;left:55px;width:160px;height:113px;border-radius:6px 6px 16px 16px;background:linear-gradient(110deg,#80a581 50%,#678f6d 50%);transform:rotate(-11deg);box-shadow:8px 13px 0 #71987830}.box:before{content:'';position:absolute;background:#406b50;top:-15px;left:-7px;width:174px;height:30px;border-radius:7px}.box:after{content:'';position:absolute;inset:-15px 64px 0;background:#f3d39a}.bow{position:absolute;width:55px;height:33px;border:9px solid #d4a75c;border-radius:50% 50% 5px 50%;bottom:132px;left:84px;transform:rotate(25deg)}.bow.second{left:129px;bottom:141px;transform:rotate(139deg)}.spark{position:absolute;color:#527d5c;font-size:29px;left:20px;top:39px}.spark.s2{left:auto;right:11px;top:67px;font-size:39px;color:#a57a37}.spark.s3{left:auto;right:21px;top:12px;font-size:16px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin:1.85rem 0 1rem}.tabs{display:flex;gap:.22rem;padding:.23rem;background:#eef1ec;border:1px solid var(--line);border-radius:.65rem;overflow:auto}.tabs button{padding:.42rem .69rem;border:0;border-radius:.42rem;background:transparent;font-size:.82rem;white-space:nowrap;color:var(--muted);font-weight:700}.tabs button[aria-pressed=true]{background:#fff;color:var(--green);box-shadow:0 1px 4px #23362216}.cards{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))}.card{display:block;text-align:left;text-decoration:none;width:100%;padding:0;border:1px solid var(--line);border-radius:.85rem;background:#fff;color:var(--ink);overflow:hidden;transition:transform .18s,border-color .18s}.card:hover{transform:translateY(-3px);border-color:#b5c6b7}.card-banner{height:111px;position:relative;display:grid;place-items:center;overflow:hidden;background:#e9e5f1;color:#6d5b90}.card-banner.theme1{background:#f4e6dc;color:#925f43}.card-banner.theme2{background:#e3ebe0;color:#4d7053}.card-banner:before,.card-banner:after{content:'';position:absolute;width:148px;height:148px;border:1px solid currentColor;opacity:.16;transform:rotate(30deg);border-radius:30%;right:-15px;top:-72px}.card-banner:after{right:auto;left:-62px;top:47px;width:130px;height:130px}.card-banner .ico{width:41px;height:41px;stroke-width:1.35}.medallion{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:#ffffff65}.card-info{padding:1rem 1rem .9rem}.card-info h3{margin:.28rem 0 .56rem;overflow-wrap:anywhere}.label{font-size:.74rem;color:var(--green);font-weight:800;letter-spacing:.015em}.card-meta{display:flex;align-items:center;gap:.38rem;font-size:.83rem;color:var(--muted)}.card-meta .ico{width:15px;height:15px}.example-note{margin:-.42rem 0 .85rem}.empty{background:#fff;border:1px dashed #cdd8cf;border-radius:.85rem;padding:1.5rem;color:var(--muted)}.actions{display:flex;gap:.55rem;flex-wrap:wrap;align-items:center}.back{margin-bottom:1.25rem}.list-head{padding:1.15rem;border-radius:.9rem;background:var(--soft);margin-bottom:1.15rem}.list-head h1{margin:.3rem 0 .5rem;overflow-wrap:anywhere}.list-head .actions{margin-top:1.1rem}.gift{padding:1rem;display:grid;align-content:start;gap:.65rem;background:#fff;border:1px solid var(--line);border-radius:.8rem;overflow-wrap:anywhere}.gift img{width:100%;height:154px;object-fit:contain;border-radius:.5rem;background:#f0f4ef}.gift .retailer{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .65rem;border-top:1px solid var(--line);padding-top:.5rem}.status{font-size:.8rem;color:var(--green);font-weight:700}.tray{background:#fff;border:1px solid var(--line);padding:1rem;border-radius:.8rem;max-width:660px;margin-bottom:.8rem}details{margin:.8rem 0}summary{font-weight:700;cursor:pointer;color:var(--green)}.field{display:grid;gap:.35rem;font-weight:700;font-size:.88rem;margin:.8rem 0}input:not([type=checkbox]),select,textarea{width:100%;min-height:43px;padding:.55rem .62rem;border:1px solid #cdd7cf;border-radius:.45rem;background:#fff;color:var(--ink)}textarea{min-height:74px;resize:vertical}fieldset{padding:.55rem .7rem;border:1px solid var(--line);border-radius:.6rem;margin:.7rem 0}legend{font-size:.87rem;font-weight:700}.inline{display:flex;gap:.5rem;align-items:end}.inline .field{flex:1}.inline .btn{margin-bottom:.8rem}.check{display:flex;gap:.6rem;align-items:center;margin:.7rem 0}dialog{border:1px solid var(--line);border-radius:1rem;color:var(--ink);width:min(550px,calc(100% - 1.6rem));max-height:90dvh;padding:1.15rem;background:#fff}dialog::backdrop{background:#14291e74}.dialog-head{display:flex;justify-content:space-between;gap:.4rem;align-items:center;margin-bottom:.75rem}.form-foot{display:flex;justify-content:flex-end;gap:.55rem;margin-top:1rem}.form-message{color:#92502c;font-size:.88rem;min-height:1.1rem}.recovery{overflow-wrap:anywhere;user-select:all}.link-text{font-size:.88rem;color:var(--green);font-weight:700}.offline{padding:.55rem .75rem;background:#fff3d9;color:#664a20;border-radius:.5rem;margin-bottom:1rem;font-size:.86rem}#toast{position:fixed;z-index:7;bottom:5rem;left:50%;transform:translateX(-50%);max-width:calc(100% - 2rem);background:#223c2e;color:#fff;padding:.65rem 1rem;border-radius:.6rem;box-shadow:0 5px 24px #0002;font-size:.9rem}#toast[hidden]{display:none}
@media(min-width:640px){.art{display:block}.hero{padding:2rem;min-height:235px}.hero-content{max-width:60%}main{padding:2.05rem 1.8rem 6rem}}
@media(min-width:940px){.sidebar{display:flex;flex-direction:column;inset:0 auto 0 0;width:227px;border-top:0;border-right:1px solid var(--line);padding:2rem 1.05rem 1.2rem}.brand{display:flex;width:max-content;align-items:center;gap:.5rem;text-decoration:none;margin:0 .35rem 2.55rem;font-size:1.48rem;letter-spacing:-.075em;font-weight:800}.brand-icon{display:grid;place-items:center;width:34px;height:34px;color:white;background:var(--green);border-radius:9px}.brand-icon .ico{width:19px;height:19px}.brand-dot{color:#6d9977;margin-left:-.42rem}.sidebar nav{display:grid;gap:.26rem;justify-content:stretch}.sidebar nav .nav{font-size:.9rem;padding:.72rem .75rem;flex-direction:row;gap:.66rem}.sidebar-end{display:grid;gap:.8rem;margin-top:auto}.profile{display:flex;align-items:center;gap:.6rem;width:100%;border:0;border-top:1px solid var(--line);background:#fff;text-align:left;padding:.85rem .1rem 0;color:var(--ink)}.profile small{display:block;font-size:.76rem;color:var(--muted);margin-top:.09rem}.avatar{display:grid;place-items:center;background:var(--soft);color:var(--green);width:35px;height:35px;flex:none;border-radius:50%}.chevron{margin-left:auto;color:var(--muted)}.mobile-tools{display:none}main{margin-left:227px;padding:2.7rem clamp(1.8rem,4vw,4.1rem) 4rem}.heading{margin-bottom:1.75rem}.hero{padding:2.2rem 2.4rem}.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.section-head{margin-top:2.05rem}.card-banner{height:126px}#toast{bottom:1.35rem}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media(max-width:390px){.inline{align-items:stretch;flex-direction:column;gap:0}.inline .btn{align-self:start}.section-head{flex-wrap:wrap}.heading{align-items:flex-start}.heading .btn{padding:.55rem .65rem}.mobile-tools{margin-bottom:.7rem}}
/* v2: import review, capture progress, drafts, badges */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.linkish{border:0;background:none;color:var(--green);font-weight:700;padding:.2rem 0;text-decoration:underline;text-underline-offset:2px}
.tray.wide{max-width:780px}
.badge{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.02em;padding:.18rem .5rem;border-radius:99px;background:var(--soft);color:var(--green);width:max-content}
.badge.pending{background:#fff3d9;color:#664a20}.badge.skipped{background:#eef1ec;color:var(--muted)}.badge.failed{background:#fbe4dc;color:#8a3b1c}
.capture{font-weight:600}.capture.pending{color:#7a5b1f}.capture.failed{color:#8a3b1c;flex-basis:100%}
.progress p{margin-bottom:.5rem}.progress progress{width:100%;height:.55rem;accent-color:var(--green)}
.gift .notes{white-space:pre-line;color:var(--ink)}.from-retailer{margin:0}.from-retailer summary{color:var(--muted)}
.gift.is-removed{opacity:.75;border-style:dashed}.removed{color:#8a3b1c;font-weight:600}
.draft{border-color:#ecd8a8}.draft.has-error{border-color:#e7b9a6}.draft strong{display:block;margin:.4rem 0 .2rem}
.note{display:block;text-decoration:none}.note.unseen{border-left:4px solid var(--green)}
.nav[data-count]:not([data-count=""])::after{content:attr(data-count);margin-left:auto;font-size:.7rem;background:var(--green);color:#fff;border-radius:99px;padding:.05rem .4rem}
.review{list-style:none;margin:0;padding:0;display:grid;gap:.7rem;max-width:780px;padding-bottom:7rem}
.review-row{display:flex;gap:.6rem;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:.8rem;padding:.75rem}
.review-row.flagged{border-color:#e5cf96;background:#fffdf6}.review-row.excluded{opacity:.6;background:#f6f7f4}
.review-row .include{margin:.55rem 0 0;flex-direction:column;gap:.2rem}.review-row .include input{width:22px;height:22px;accent-color:var(--green)}.num{font-size:.72rem;color:var(--muted);font-weight:700}
.row-body{flex:1;min-width:0}.field.compact{margin:0}.flag{color:#7a5b1f;margin:.35rem 0 0}
.row-links{list-style:none;margin:.5rem 0 0;padding:0;display:grid;gap:.35rem}.row-links li{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}.row-links input{flex:1;min-width:0;font-size:.84rem;min-height:38px}
.row-body details{margin:.5rem 0 .2rem}.row-body textarea{min-height:60px;margin:.4rem 0}
.savebar{position:fixed;z-index:4;left:0;right:0;bottom:calc(3.9rem + env(safe-area-inset-bottom));display:flex;flex-wrap:wrap;gap:.4rem .8rem;align-items:center;justify-content:space-between;background:#fff;border-top:1px solid var(--line);padding:.7rem 1.1rem;box-shadow:0 -4px 18px #1d29220d}
.savebar .form-message{flex-basis:100%;order:3;min-height:0}
.results{list-style:none;padding:0;margin:0;display:grid;gap:.5rem}.results li{display:flex;flex-wrap:wrap;gap:.4rem;align-items:baseline}
@media(min-width:940px){.savebar{left:227px;bottom:0;padding:.85rem clamp(1.8rem,4vw,4.1rem)}}
