:root{--bg:#f8f4eb;--ink:#344a3a;--green:#52694e;--muted:#786f64;--line:#e5ded2;--white:#fffdf8;--rose:#b66f5d;--shadow:0 8px 25px #534a3210; font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg);font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;border:0;touch-action:manipulation}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #bb8b68;outline-offset:2px}input,select,textarea{min-width:0;width:100%;padding:12px;border:1px solid #d8d2c6;border-radius:12px;background:#fff;color:var(--ink);font-size:16px}textarea{min-height:80px;resize:vertical}label{display:block;font-size:.83rem;color:var(--muted);margin:7px 0 4px}h1,h2,h3,p{margin:0}h1{font-size:1.65rem;letter-spacing:-.055rem}h2{font-size:1.35rem;letter-spacing:-.03rem}h3{font-size:1rem}p{line-height:1.45}.muted,small{color:var(--muted);font-size:.85rem}.shell{max-width:760px;margin:auto;padding:calc(15px + env(safe-area-inset-top)) 16px calc(92px + env(safe-area-inset-bottom))}.top{display:flex;align-items:center;gap:11px;margin-bottom:22px}.logo{width:49px;height:49px;border-radius:15px;flex:none}.brand{flex:1}.brand small{font-size:.73rem}.round{border-radius:50%;height:42px;width:42px;background:#e7e8da;display:grid;place-items:center;font-size:1.15rem;position:relative;flex:none}.badge{position:absolute;right:-3px;top:-4px;background:var(--rose);color:white;border-radius:50%;padding:3px 6px;font-size:.7rem}.hero{background:#e6ebdc;border-radius:24px;padding:20px;margin-bottom:16px}.hero h2{font-size:1.6rem;margin:5px 0 7px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tile{min-height:119px;text-align:left;padding:16px;border-radius:20px;display:flex;flex-direction:column;justify-content:space-between;gap:7px;box-shadow:var(--shadow)}.tile .emoji{font-size:1.6rem}.tile strong{font-size:1.05rem}.tile small{display:block;margin-top:3px}.tile:nth-child(6n+1){background:#e6eadb}.tile:nth-child(6n+2){background:#f1dfc8}.tile:nth-child(6n+3){background:#e7e1ee}.tile:nth-child(6n+4){background:#f1e1da}.tile:nth-child(6n+5){background:#e0e9e5}.tile:nth-child(6n+6){background:#f2e8cc}.panel{background:var(--white);border:1px solid var(--line);border-radius:19px;padding:16px;margin:12px 0;box-shadow:var(--shadow)}.sectionhead,.row,.toolbar{display:flex;align-items:center;gap:9px}.sectionhead{justify-content:space-between;margin:6px 0 13px}.row{padding:10px 0;border-bottom:1px solid var(--line)}.row:last-child{border-bottom:0}.grow{flex:1;min-width:0;overflow-wrap:anywhere}.toolbar{flex-wrap:wrap;margin:8px 0}.between{justify-content:space-between}.btn{background:var(--green);color:white;padding:11px 15px;border-radius:12px;font-weight:600;min-height:43px}.btn.secondary{background:#e6eadc;color:var(--ink)}.btn.ghost{background:transparent;color:var(--green);border:1px solid var(--line)}.btn.danger{background:#f4e1dc;color:#923e34}.btn.small{min-height:34px;font-size:.83rem;padding:7px 10px}.full{width:100%;margin-top:8px}.chip{display:inline-flex;align-items:center;gap:4px;border-radius:30px;background:#eee9dd;padding:8px 12px;margin:3px;font-size:.86rem}.check{width:32px;height:32px;flex:none;border:1px solid #a7b19a;border-radius:50%;background:transparent;color:var(--green);font-weight:bold}.check.on{background:var(--green);color:white}.checked{text-decoration:line-through;color:var(--muted)}.nav{position:fixed;bottom:0;left:0;right:0;z-index:2;background:#fffdf8f5;border-top:1px solid var(--line);padding:7px 8px calc(7px + env(safe-area-inset-bottom));display:flex;justify-content:space-around;backdrop-filter:blur(12px)}.nav button{flex:1;max-width:150px;background:transparent;border-radius:12px;padding:6px 3px;color:var(--muted);font-size:.71rem;white-space:nowrap}.nav button span{display:block;font-size:1.3rem;margin-bottom:3px}.nav button.active{background:#e8ebdf;color:var(--green);font-weight:700}.avatar{width:35px;height:35px;border-radius:50%;background:#e4e8d9;display:grid;place-items:center;font-weight:700;flex:none;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.family{display:flex;justify-content:space-between;gap:5px;margin-top:13px}.family>div{min-width:0;text-align:center;flex:1}.family .avatar{margin:0 auto 5px}.family small{font-size:.66rem;display:block;overflow-wrap:anywhere}.datebar{display:flex;gap:7px;align-items:center}.datebar input{flex:1}.datebar button{flex:none}.dates{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:11px 0}.dates button{background:#eee9dd;border-radius:9px;padding:7px 1px;font-size:.75rem;min-height:41px}.dates button.active{background:var(--green);color:white}.dates small{display:block;font-size:.68rem;color:inherit}.status{display:flex;gap:4px}.status button{width:32px;height:34px;border-radius:10px;background:#f0ede5;font-size:.95rem}.status button.active.yes{background:#cddfc3;color:#355b34}.status button.active.no{background:#f1d4ce;color:#9b453b}.status button.active.later{background:#f1e1b9;color:#87601d}.status button.active.unknown{background:#dcdedc;color:#575d57}.summary{display:flex;gap:8px;text-align:center;margin-top:13px}.summary>div{flex:1;background:#f2eee4;border-radius:12px;padding:12px 4px}.summary strong{font-size:1.5rem;display:block}.summary small{font-size:.72rem}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.photo-card{overflow:hidden;border-radius:13px;border:1px solid var(--line);background:#fff}.photo-card img{width:100%;height:145px;object-fit:cover;display:block;background:#e6eadf}.photo-card>div{padding:9px}.post-photo{max-width:100%;max-height:300px;object-fit:contain;border-radius:12px;margin-top:9px;display:block}.vote{width:100%;background:#eee9dd;padding:10px;text-align:left;border-radius:12px;margin:4px 0}.vote.selected{background:#d4e3ce}.vote .bar{height:4px;background:#8ea783;border-radius:9px;margin-top:6px}.empty{padding:20px 0;text-align:center;color:var(--muted)}.login{max-width:430px;margin:0 auto;padding:calc(42px + env(safe-area-inset-top)) 22px}.login .logo{width:80px;height:80px;margin-bottom:15px}.login h1{font-size:2.2rem}.login .panel{margin-top:25px}.login .muted{line-height:1.5}.notice{padding:10px;border-radius:12px;background:#f4e4ce;color:#75572d;margin:10px 0;font-size:.85rem}.error{color:#a33d33}.demo-banner{font-size:.76rem;background:#f1e2c7;padding:8px;text-align:center;border-radius:10px;margin-bottom:10px}#toast{position:fixed;left:50%;bottom:calc(86px + env(safe-area-inset-bottom));transform:translateX(-50%);max-width:90%;width:max-content;background:#354a3a;color:white;padding:12px 18px;border-radius:14px;z-index:10;display:none;box-shadow:var(--shadow);font-size:.88rem}dialog{border:0;border-radius:23px;background:var(--white);color:var(--ink);padding:20px;width:min(92%,460px);max-height:85dvh;overflow:auto;box-shadow:0 10px 70px #0004}dialog::backdrop{background:#292f26a0}dialog h2{margin-bottom:10px}dialog .toolbar{justify-content:flex-end;margin-top:16px}a{color:var(--green)}.birthday{background:#f4e1de;padding:12px;border-radius:13px;margin:8px 0}.pill{font-size:.72rem;padding:4px 8px;background:#e8eadb;border-radius:20px;white-space:nowrap}.nowrap{white-space:nowrap}.wrap{white-space:pre-wrap;overflow-wrap:anywhere}.install{margin:12px 0;font-size:.85rem}.monthgrid button{min-height:44px}.dots{font-weight:bold;color:var(--rose)}@media(min-width:600px){.grid{grid-template-columns:repeat(3,1fr)}.photo-grid{grid-template-columns:repeat(3,1fr)}.shell{padding-left:24px;padding-right:24px}}@media(max-width:360px){.status button{width:28px}.shell{padding-left:11px;padding-right:11px}.row{gap:6px}}
