@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');
:root{--bg:#f7f5ef;--paper:#fffefb;--green:#214d3c;--green-soft:#e8ede5;--ink:#293b32;--muted:#7c8177;--line:#e6e5db;--orange:#c66b4b;--peach:#f6e5d9;--serif:'DM Serif Display',Georgia,serif;--sans:'DM Sans',system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,a{touch-action:manipulation}button{color:inherit}button:disabled{opacity:.55;cursor:default}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c4845e;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:400}h1,h2{font-family:var(--serif)}svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{border:0;background:none}a{text-decoration:none}.skip{position:fixed;left:20px;top:-80px;padding:12px;background:white;z-index:100}.skip:focus{top:10px}
.shell{max-width:1440px;margin:auto}.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;border-bottom:1px solid var(--line);background:var(--bg)}.brand{font-family:var(--serif);font-size:37px;letter-spacing:-1.5px;display:flex;gap:7px;align-items:center}.brand-mark{color:var(--orange);font:25px Georgia;transform:rotate(-14deg);margin-top:-13px}.brand-small{font-size:11px;letter-spacing:1px;color:var(--muted);font-family:var(--sans);margin-left:18px;margin-top:9px}.topright{display:flex;align-items:center;gap:16px}.round-button{width:44px;height:44px;border-radius:50%;background:var(--green-soft);display:grid;place-items:center}.user-avatar{background:#ebd8c3;font-family:var(--serif);font-size:21px;border:3px solid var(--paper)}.desktop-nav{display:none}
.layout{display:block}main{padding:25px 20px 115px;min-width:0}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:1.8px;color:var(--muted);font-weight:600}.family-switch{display:flex;gap:7px;align-items:center;overflow-x:auto;margin:0 0 25px;scrollbar-width:none}.family-chip{padding:11px 17px;border-radius:30px;background:#ecece4;font-size:12px;white-space:nowrap;min-height:42px;display:flex;align-items:center;gap:7px}.family-chip.active{color:white;background:var(--green)}.family-chip .icon{width:15px;height:15px}.family-add{border:1px dashed #c7cbbe;background:transparent;padding:10px;min-width:42px}.hero{background:var(--green);color:#fffaf0;border-radius:20px;padding:25px;position:relative;overflow:hidden;min-height:173px}.hero-copy{position:relative;z-index:1;max-width:72%}.hero .eyebrow{color:#c2d1bd;font-size:9px;letter-spacing:1.5px}.hero h1{font-size:34px;line-height:1.08;letter-spacing:-.7px;margin:11px 0}.hero p{font-size:11px;color:#d4ddd0;line-height:1.7;max-width:230px}.hero-art{position:absolute;right:-25px;top:8px;width:170px;height:170px;color:#d9bc91;transform:rotate(8deg);opacity:.9}.hero-art:before{content:'';position:absolute;inset:7px;border:1px solid #76896b;border-radius:50%;opacity:.55}.hero-art svg{position:absolute;width:130px;height:130px;top:20px;left:20px;fill:none;stroke:currentColor;stroke-width:1.25}.hero-art .star{position:absolute;font-size:30px;right:4px;top:12px;color:#eee6be}.people-head{display:flex;justify-content:space-between;align-items:center;margin:28px 0 15px}.text-button{font-size:11px;color:var(--green);display:flex;gap:6px;align-items:center;min-height:40px}.text-button .icon{width:15px;height:15px}.people{display:flex;gap:15px;overflow-x:auto;padding:3px 2px 12px}.person{min-width:66px;text-align:center;font-size:12px;position:relative;padding:0 3px}.portrait{height:57px;width:57px;display:grid;place-items:center;margin:0 auto 9px;border:3px solid var(--bg);border-radius:50%;background:#e8dfcf;color:#655845;font:26px var(--serif);box-shadow:0 0 0 1px #e8e3d7}.person:nth-child(2) .portrait{background:#dfdfcf;color:#626d4c}.person:nth-child(3) .portrait{background:#ecd9d0;color:#8f5e48}.person.active .portrait{box-shadow:0 0 0 2px var(--green)}.person.active{font-weight:700;color:var(--green)}.person span:last-child{display:block}.person-you{font-size:9px;font-weight:400;color:var(--muted);padding-top:3px}.list-heading{margin-top:22px;display:flex;justify-content:space-between;gap:12px;align-items:center}.list-heading h2{font-size:28px;letter-spacing:-.6px}.list-heading p{font-size:11px;color:var(--muted);margin-top:6px}.primary{background:var(--green);color:#fffdf6;border:1px solid var(--green);border-radius:11px;min-height:45px;padding:12px 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:500;font-size:12px}.primary.orange{background:var(--orange);border-color:var(--orange)}.add-label{display:none}.add-wish{width:44px;padding:10px;border-radius:50%;flex-shrink:0}.occasion{display:flex;border-bottom:1px solid var(--line);gap:25px;margin-top:19px}.occasion button{min-height:48px;display:flex;gap:7px;align-items:center;font-size:12px;color:var(--muted);border-bottom:2px solid transparent;padding:8px 2px}.occasion button.active{color:var(--green);border-color:var(--green);font-weight:600}.occasion .icon{width:17px;height:17px}.occasion .count{font-size:10px;padding:2px 6px;background:#e8e9df;border-radius:4px}.filterbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:19px 0}.filter-chip{border:1px solid var(--line);border-radius:30px;font-size:10px;min-height:38px;padding:8px 12px;white-space:nowrap;background:var(--paper)}.filter-chip.active{background:var(--green-soft);border-color:#c5d0be;color:var(--green)}.category-filter{border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);min-height:40px;max-width:100%;font-size:11px;padding:8px 26px 8px 11px;width:100%;margin-top:3px}.results-line{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);margin:16px 0 12px}.results-line .icon{width:14px;height:14px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.wish{background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden;position:relative;transition:transform .2s,box-shadow .2s}.wish:hover{transform:translateY(-3px);box-shadow:0 8px 22px #293b320b}.wish-open{display:block;width:100%;text-align:left;padding:0}.wish-image{aspect-ratio:1.08;position:relative;background:#eeece4;overflow:hidden}.wish-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.wish:hover .wish-image img{transform:scale(1.04)}.wish-image.art-image{display:grid;place-items:center;background:#eee6d7;color:#9d7c53}.wish-image.art-image .icon{width:64px;height:64px;stroke-width:1}.priority-badge{position:absolute;top:10px;left:9px;padding:5px 7px;font-size:9px;border-radius:5px;background:#fff9ef;color:#825a3c;max-width:calc(100% - 45px)}.priority-badge.level-2{background:#f8e4d6;color:#9b5137}.wish-info{padding:12px 11px 14px}.wish-category{font-size:8px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:6px;display:block}.wish h3{font-family:var(--serif);font-size:17px;line-height:1.3;margin-bottom:5px;overflow-wrap:anywhere}.wish-variant{font-size:10px;color:var(--muted);min-height:15px}.wish-price{font-size:12px;font-weight:600;margin-top:11px}.wish-price.own-wish{font-size:10px;font-weight:400;color:var(--muted)}.bookmark{position:absolute;right:8px;top:9px;width:30px;height:30px;border-radius:50%;background:#fffdf4db;display:grid;place-items:center;color:#8c9387;backdrop-filter:blur(5px)}.bookmark .icon{width:15px;height:15px}.wish-foot{display:flex;justify-content:space-between;align-items:center;padding:0 11px 11px;gap:6px;font-size:9px;color:var(--muted)}.wish-foot button{font-size:10px;color:var(--green);min-height:30px}.empty{grid-column:1/-1;padding:45px 20px;background:var(--paper);border:1px dashed #c7ccbe;border-radius:15px;text-align:center}.empty .icon{width:35px;height:35px;color:var(--orange);margin-bottom:12px}.empty h3{font:24px var(--serif)}.empty p{font-size:12px;line-height:1.7;color:var(--muted);margin:10px auto 16px;max-width:300px}.little-note{display:flex;gap:10px;align-items:flex-start;color:var(--muted);font-size:11px;line-height:1.7;margin:25px 0;padding:17px 0;border-top:1px solid var(--line)}.little-note .icon{width:17px;height:17px;color:#9da88e}.list-bottom{display:flex;justify-content:space-between;font-size:10px;color:#8e9387;margin-top:28px}.list-bottom span:first-child{font-family:var(--serif);font-size:17px;color:#7d8e75}.mobile-nav{position:fixed;z-index:8;bottom:0;left:0;right:0;display:flex;background:#fbfaf5f5;border-top:1px solid var(--line);padding:7px 20px max(9px,env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.mobile-nav button{flex:1;display:flex;align-items:center;flex-direction:column;gap:5px;padding:7px;font-size:10px;color:var(--muted);min-height:50px}.mobile-nav button.active{color:var(--green)}.mobile-nav .icon{width:21px;height:21px}.bottom-dot{width:4px;height:4px;border-radius:50%;background:var(--orange);position:absolute;bottom:6px}
.page-title{font-size:37px;margin:10px 0}.page-intro{color:var(--muted);font-size:13px;line-height:1.8;margin-bottom:26px;max-width:500px}.family-card,.panel{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:23px;margin-bottom:15px}.family-card-top{display:flex;gap:15px;align-items:center;margin-bottom:19px}.family-card-top>span{display:grid;place-items:center;width:48px;height:48px;background:var(--green-soft);border-radius:13px;color:var(--green)}.family-card h2{font-size:26px}.family-card p{font-size:12px;color:var(--muted);line-height:1.8}.family-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.secondary{border:1px solid #d4d8ca;border-radius:10px;padding:11px 15px;min-height:44px;font-size:12px;display:inline-flex;gap:8px;align-items:center;justify-content:center;background:var(--paper)}.hint{background:#f0ecdf;border-radius:10px;padding:13px 15px;color:#7b735e;font-size:11px;line-height:1.7;margin:16px 0}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid var(--line)}.settings-row:last-child{border:0}.settings-row p{font-size:11px;color:var(--muted);margin-top:6px}.settings-row label{font-size:13px}.settings-row select{max-width:140px;border:1px solid var(--line);padding:10px;background:var(--bg);border-radius:8px}.danger{color:#a44838}.search-wrap{position:relative;margin-top:18px}.search-wrap .icon{position:absolute;left:12px;top:12px;color:var(--muted);width:18px;height:18px}.search-wrap input{width:100%;padding:11px 14px 11px 38px;border:1px solid var(--line);border-radius:10px;background:var(--paper);min-height:43px;font-size:12px;color:var(--ink)}
dialog{border:0;border-radius:21px;padding:0;width:calc(100% - 24px);max-width:510px;max-height:90dvh;background:var(--paper);color:var(--ink);box-shadow:0 24px 90px #142b3133}dialog::backdrop{background:#1e30295c;backdrop-filter:blur(4px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:23px 24px 15px;gap:15px}.dialog-header h2{font-size:29px}.close{border-radius:50%;background:var(--bg);width:38px;height:38px;display:grid;place-items:center;flex-shrink:0}.dialog-body{padding:0 24px 25px}.dialog-tabs{display:flex;background:#eeeee5;border-radius:10px;padding:4px;margin-bottom:20px}.dialog-tabs button{flex:1;padding:10px;font-size:12px;border-radius:7px;min-height:40px}.dialog-tabs button.active{background:var(--green);color:white}.field{display:block;margin-bottom:15px}.field>span,.field-label{display:block;font-size:11px;font-weight:500;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;border:1px solid #dedfd3;padding:12px;border-radius:9px;min-height:45px;background:#fffefa;color:var(--ink);font-size:13px}.field textarea{resize:vertical;min-height:75px}.field input::placeholder,.field textarea::placeholder{color:#a0a294}.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.full{width:100%}.link-tools{display:flex;align-items:flex-end;gap:8px}.link-tools .field{flex:1;min-width:0;margin:0}.link-tools button{height:45px;padding:10px 12px}.link-result{font-size:11px;line-height:1.7;color:#6d775d;background:var(--green-soft);padding:11px;border-radius:8px;margin:10px 0 15px}.level-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:7px 0 18px}.level-option{position:relative;text-align:center;cursor:pointer}.level-option input{position:absolute;opacity:0}.level-option span{display:flex;flex-direction:column;gap:6px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:12px 4px;font-size:9px;min-height:68px;justify-content:center}.level-option b{font-size:19px;font-weight:400}.level-option input:checked+span{background:var(--green-soft);border-color:var(--green)}.level-option input:focus-visible+span{outline:3px solid var(--orange)}.form-error{font-size:12px;color:#a44838;margin:12px 0}.detail-image{width:100%;aspect-ratio:1.45;object-fit:cover;border-radius:12px;margin-bottom:19px;background:var(--green-soft)}.detail-art{display:grid;place-items:center;color:var(--orange)}.detail-art .icon{width:70px;height:70px}.detail-price{font-size:23px;font-family:var(--serif);margin:10px 0}.detail-meta{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:15px}.detail-description{line-height:1.8;font-size:13px;white-space:pre-wrap;margin:15px 0}.detail-actions{display:grid;gap:10px;margin-top:20px}#toast{position:fixed;z-index:40;bottom:95px;left:50%;transform:translate(-50%,15px);background:var(--green);color:white;padding:14px 20px;border-radius:12px;font-size:12px;box-shadow:0 6px 24px #193e3526;opacity:0;transition:.2s;pointer-events:none;max-width:calc(100% - 35px);width:max-content}#toast.visible{opacity:1;transform:translate(-50%,0)}.confirm-delete{background:#fae6de;padding:14px;border-radius:9px;display:grid;gap:12px;font-size:12px;margin-top:15px}
@media(min-width:600px){main{padding:32px 35px 110px}.hero{padding:33px;min-height:198px}.hero h1{font-size:44px}.hero p{font-size:12px}.hero-art{right:30px;top:13px;width:185px;height:185px}.hero-art svg{width:145px;height:145px}.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.category-filter{width:auto;margin:0 0 0 auto;max-width:185px}.filter-chip{font-size:11px}.wish-info{padding:15px}.wish h3{font-size:20px}.wish-category{font-size:9px}.wish-variant{font-size:11px}.wish-price{font-size:13px}.add-label{display:inline}.add-wish{width:auto;border-radius:10px;padding:12px 17px}.brand-small{display:block}.hero-copy{max-width:75%}}
@media(max-width:599px){.brand-small{display:none}.topbar{height:72px;padding:0 20px}.topright{gap:10px}.round-button{width:37px;height:37px}.brand{font-size:33px}.topright .help-desktop{display:none}}
@media(min-width:1000px){.topbar{padding:0 42px;height:88px}.layout{display:grid;grid-template-columns:218px 1fr}.desktop-nav{display:flex;flex-direction:column;padding:33px 22px;border-right:1px solid var(--line);min-height:calc(100vh - 88px)}.desktop-nav .eyebrow{padding:0 14px;margin-bottom:16px;font-size:9px}.desktop-nav>button{display:flex;align-items:center;gap:12px;text-align:left;padding:14px;border-radius:9px;margin-bottom:5px;font-size:12px;min-height:46px}.desktop-nav>button.active{background:#e8ecdf;color:var(--green);font-weight:600}.desktop-nav>button .icon{width:19px;height:19px}.sidebar-note{margin-top:auto;padding:40px 13px 8px}.sidebar-note .icon{color:var(--orange);width:24px;height:24px;margin-bottom:12px}.sidebar-note p{font:19px/1.4 var(--serif);color:#637358}.sidebar-note small{display:block;font-size:10px;line-height:1.8;color:var(--muted);margin-top:13px}.mobile-nav{display:none}main{padding:33px 42px 45px;max-width:1080px;width:100%;margin:auto}.family-switch{margin-bottom:25px}.family-chip{font-size:11px;padding:10px 17px}.hero{padding:32px 34px;min-height:203px}.hero h1{font-size:45px}.hero-art{right:58px;width:200px;height:200px;top:3px}.hero-art svg{width:160px;height:160px}.people-head{margin-top:27px}.people{gap:25px}.portrait{width:54px;height:54px}.list-heading{margin-top:17px}.list-heading h2{font-size:32px}.grid{gap:19px}.wish-image{aspect-ratio:1.13}.wish h3{font-size:21px}.priority-badge{font-size:10px;padding:6px 9px}.wish-info{padding:16px}.wish-foot{padding:0 16px 12px}.list-bottom{margin-top:30px}.family-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.family-grid .family-card{margin:0}#toast{bottom:30px}.profile-panel{max-width:650px}}
.list-heading>div{min-width:0}.list-heading h2,.page-title,.family-card h2,.dialog-header h2{overflow-wrap:anywhere}.family-card-top>div{min-width:0}.person{max-width:100px}.person span:last-child{overflow-wrap:anywhere}
.birthday-notice{width:100%;display:flex;align-items:center;gap:12px;background:#f1e9da;border:1px solid #e7decc;border-radius:13px;padding:14px;margin:0 0 23px;text-align:left;min-height:70px}.birthday-icon{display:grid;place-items:center;width:38px;height:38px;background:#fffaf1;border-radius:11px;color:#b06a48;flex-shrink:0}.birthday-copy{min-width:0;display:block}.birthday-label{display:block;color:#8d785a;font-size:9px;text-transform:uppercase;letter-spacing:1.3px;margin-bottom:5px}.birthday-notice strong{display:block;font-weight:500;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.birthday-notice strong span{color:#7f735f;font-size:12px;white-space:nowrap}.birthday-notice p{font-size:11px;color:var(--muted);margin-top:4px}.birthday-arrow{margin-left:auto;color:#a08059;flex-shrink:0}.birthday-notice .text-button{margin-left:auto;font-size:10px;flex-shrink:0}.admin-hint{margin-top:0}.admin-families{max-width:780px}.admin-family-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.admin-family-heading>div{min-width:0}.admin-family-heading h2{font-size:28px;margin-top:5px;overflow-wrap:anywhere}.admin-family-heading .secondary{font-size:11px;flex-shrink:0;padding:10px}.admin-family-heading .icon{width:16px;height:16px}.admin-person{display:flex;align-items:center;gap:11px;padding:15px 0;border-top:1px solid var(--line)}.admin-avatar{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:50%;background:var(--green-soft);font:20px var(--serif)}.admin-person-copy{min-width:0;flex:1}.admin-person h3{font-size:14px;font-weight:500;overflow-wrap:anywhere}.admin-person p{display:flex;align-items:center;gap:5px;margin-top:5px;color:var(--muted);font-size:11px}.admin-person p .icon{width:13px;height:13px}.admin-person>.secondary{font-size:10px;padding:9px;flex-shrink:0}.admin-person>.secondary .icon{width:15px;height:15px}.birthday-fields{border:0;padding:0;margin:0}.birthday-fields legend{font-size:12px;font-weight:500;margin-bottom:12px}.admin-help{color:var(--muted);font-size:11px;line-height:1.7;margin-bottom:16px}
@media(max-width:380px){.admin-family{padding:17px}.admin-person>.secondary span{display:none}.mobile-nav{padding-left:5px;padding-right:5px}.mobile-nav button{font-size:9px}.admin-family-heading .secondary{max-width:120px}}
.upcoming-notice{margin:0 0 25px;padding:0 0 13px;border-bottom:1px solid var(--line)}.upcoming-event{display:flex;align-items:center;gap:8px;width:100%;padding:8px 0;text-align:left;min-height:40px;font-size:11px}.upcoming-icon{color:#a58463;display:flex;flex-shrink:0}.upcoming-icon .icon{width:16px;height:16px}.upcoming-label{font-size:9px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);width:53px;flex-shrink:0}.upcoming-name{font-weight:500;min-width:0;overflow-wrap:anywhere}.upcoming-date{margin-left:auto;white-space:nowrap;color:var(--muted);font-size:10px;flex-shrink:0}.upcoming-event.following{color:#858979;padding-top:3px}.upcoming-event.following .upcoming-name{font-weight:400}.start-panel{max-width:600px;padding:27px}.start-panel>.icon{width:35px;height:35px;color:var(--orange);margin-bottom:17px}.start-panel h2{font-size:26px}.start-panel p{font-size:12px;color:var(--muted);line-height:1.8;margin:12px 0 22px}.start-panel .text-button{margin-top:12px}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.connection-error{position:sticky;top:0;z-index:50;display:flex;gap:15px;align-items:center;justify-content:center;padding:13px 20px;background:#f6e5d9;border-bottom:1px solid #d7b29a;color:#713d2c;font-size:12px;line-height:1.6}.connection-error[hidden]{display:none}.connection-error button{text-decoration:underline;flex-shrink:0;min-height:40px}.viewer-name{font-size:12px;color:var(--muted)}#login-form{margin-top:22px}#password-form{margin-top:20px}.settings-row+.secondary{margin-top:16px}@media(max-width:380px){.viewer-name{display:none}.connection-error{display:block}.connection-error button{margin-left:10px}}
