:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#132f49;background:#f5f7fa;font-synthesis:none;--navy:#0d2d4b;--teal:#007f83;--muted:#54677b;--line:#dce4eb;--coral:#ef7761}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,.button{cursor:pointer;border:0;border-radius:10px;padding:.8rem 1.15rem;background:var(--teal);color:white;font-weight:650;text-decoration:none;display:inline-flex;gap:.5rem;align-items:center;justify-content:center}button:hover,.button:hover{filter:brightness(.94)}button:disabled{opacity:.6;cursor:wait}.secondary{background:#e9f1f4;color:var(--navy)}.danger{background:#fff0ed;color:#a02b19}.quiet{background:transparent;color:var(--muted);padding:.5rem}.skip{position:absolute;top:-70px;background:white;padding:1rem;z-index:10}.skip:focus{top:0}:focus-visible{outline:3px solid #e79624;outline-offset:4px}input,select{width:100%;padding:.8rem;border:1px solid #b7c6d3;border-radius:9px;background:white;color:var(--navy)}label{display:block;font-size:.9rem;font-weight:600;margin-bottom:1rem}label input,label select{margin-top:.45rem}label.check{display:flex;gap:.7rem;align-items:flex-start;font-weight:400}.check input{width:auto;margin-top:.2rem}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.8rem,3.5vw,2.7rem);letter-spacing:-.04em;line-height:1.15}h2{font-size:1.2rem;letter-spacing:-.02em}h3{font-size:1rem}p{line-height:1.6}.muted,small{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.7rem;font-weight:750;color:var(--teal);margin-bottom:.7rem}.brand{display:flex;align-items:center;gap:.7rem;font-size:1.4rem;font-weight:800;letter-spacing:-.05em}.brand-icon{width:44px;height:44px;border-radius:12px;overflow:hidden;position:relative;flex-shrink:0;background:#0d2d4b}.brand-icon img{position:absolute;width:173px;height:auto;max-width:none;left:-18px;top:-65px}.brand small{display:block;font-size:.6rem;font-weight:500;letter-spacing:.06em;margin-top:.1rem}.layout{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{padding:2rem 1.3rem;border-right:1px solid var(--line);background:white;display:flex;flex-direction:column;gap:2.2rem}.nav{display:grid;gap:.45rem}.nav button{justify-content:flex-start;background:transparent;color:var(--muted);padding:.9rem}.nav button[aria-current=page]{background:#e7f4f3;color:#006d70}.nav-icon{display:inline-block;width:22px;text-align:center}.sidebar-foot{margin-top:auto;font-size:.75rem;line-height:1.7;color:var(--muted)}.privacy-dot{display:inline-block;width:7px;height:7px;background:var(--teal);border-radius:50%;margin-right:.3rem}.workspace{min-width:0}.topbar{min-height:82px;padding:1rem 2.5rem;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;background:#ffffffb3;gap:1rem}.topbar select{max-width:250px;font-weight:600}.account{display:flex;align-items:center;gap:.7rem;font-size:.85rem}.avatar{width:34px;height:34px;background:#e9deda;border-radius:50%;display:grid;place-items:center;font-weight:700}main{max-width:1300px;margin:auto;padding:2.4rem}.heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.7rem}.heading p{margin-bottom:0}.hero{padding:2rem;border:1px solid #cfe3e6;border-radius:20px;background:linear-gradient(115deg,#e2f3f1,#f1f6fb);position:relative;overflow:hidden;margin-bottom:1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.hero h2{font-size:1.7rem;max-width:500px}.hero p{max-width:520px}.hero-art{flex-shrink:0;width:145px;height:145px;border-radius:40px;background:#ffffff7a;display:grid;place-items:center;color:var(--teal);font-size:5rem;transform:rotate(-8deg)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.5rem}.stat{background:white;border:1px solid var(--line);border-radius:14px;padding:1.2rem}.stat strong{display:block;font-size:1.8rem;margin-bottom:.25rem}.stat span{font-size:.8rem;color:var(--muted)}.grid{display:grid;grid-template-columns:1.35fr 1fr;gap:1.5rem}.card{padding:1.5rem;background:white;border:1px solid var(--line);border-radius:16px;min-width:0;margin-bottom:1.5rem}.card-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:1.3rem}.card-head h2{margin:0}.empty{border:1px dashed #c5d4df;border-radius:12px;padding:1.8rem;text-align:center;color:var(--muted);line-height:1.6}.empty strong{display:block;color:var(--navy);margin-bottom:.3rem}.row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-top:1px solid #edf1f4}.row:first-child{border-top:0}.row p{margin:0;font-size:.85rem}.row h3{margin-bottom:.25rem}.row-actions{display:flex;gap:.3rem;flex-wrap:wrap}.pill{display:inline-block;font-size:.7rem;font-weight:650;background:#e9f4f2;color:#006d70;border-radius:20px;padding:.25rem .6rem}.pill.pending{background:#fff3d9;color:#87580a}.pill.cancelled,.pill.declined{background:#f7eae8;color:#a02b19}.actions{display:flex;gap:.6rem;flex-wrap:wrap}.quick{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.quick button{background:#f4f7fa;color:var(--navy);justify-content:flex-start;padding:1rem}.privacy{background:#edf4f6;padding:1.2rem;border-radius:12px;font-size:.85rem}.privacy p{margin-bottom:0}.auth{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.auth-story{background:#0d2d4b;color:white;padding:3rem;display:flex;flex-direction:column;justify-content:space-between;gap:3rem}.auth-story .brand small{color:#c7dce5}.auth-story h1{font-size:clamp(2.4rem,4.5vw,4.8rem);max-width:650px}.auth-story .eyebrow{color:#81ded6}.auth-story p{color:#d2e0ea;max-width:520px}.auth-story .brand-icon{background:white}.auth-art{width:100%;border-radius:18px;margin:1rem 0}.auth-form{align-self:center;width:100%;max-width:480px;margin:auto;padding:3rem}.auth-form h2{font-size:1.8rem}.auth-form button[type=submit]{width:100%}.auth-switch{display:flex;gap:.5rem;margin-bottom:2rem}.auth-switch button{flex:1}.auth-foot{font-size:.75rem;margin-top:1.7rem;line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-grid label{min-width:0}dialog{border:1px solid var(--line);border-radius:18px;max-width:560px;width:calc(100% - 2rem);padding:1.7rem;color:var(--navy);box-shadow:0 20px 80px #0d2d4b33}dialog::backdrop{background:#071b2e88;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.dialog-head h2{margin:0}.form-error{color:#a02b19;font-size:.9rem;line-height:1.5;min-height:1.4rem}#notice{position:fixed;bottom:1.5rem;left:50%;transform:translateX(-50%);max-width:90vw;z-index:20;border-radius:12px;background:var(--navy);color:white;box-shadow:0 6px 30px #0d2d4b22}#notice:not(:empty){padding:1rem 1.5rem}.full{width:100%}.status-list{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.status-item{padding:1rem;border:1px solid var(--line);border-radius:12px}.status-item p{margin:.6rem 0 0;font-size:.85rem}.amount{font-variant-numeric:tabular-nums;font-weight:700}.done{text-decoration:line-through;color:var(--muted)}.calendar-filter{max-width:260px;margin-bottom:1rem}.link-output{display:block;overflow-wrap:anywhere;background:#edf4f6;padding:1rem;border-radius:9px;margin-bottom:1rem;font-size:.85rem}footer{padding:0 2.4rem 2rem;font-size:.75rem;color:var(--muted)}@media(max-width:1050px){.layout{grid-template-columns:190px 1fr}.sidebar{padding:1.5rem .8rem}.topbar{padding:1rem 1.5rem}main{padding:1.5rem}.grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.hero-art{display:none}.brand{font-size:1.2rem}.auth-story{padding:2rem}}@media(max-width:700px){.layout{display:block}.sidebar{padding:1rem;gap:1rem;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{justify-content:center}.sidebar-foot{display:none}.nav{display:flex;overflow-x:auto;gap:.3rem}.nav button{white-space:nowrap;padding:.7rem;font-size:.85rem;flex-shrink:0}.nav-icon{width:16px}.topbar{padding:.8rem 1rem;min-height:65px}.account .username{display:none}.topbar select{max-width:190px}main{padding:1.3rem 1rem}.heading{flex-direction:column;gap:1rem}.hero{padding:1.4rem}.hero h2{font-size:1.5rem}.stats{gap:.6rem}.stat{padding:1rem}.card{padding:1.1rem}.auth{display:block}.auth-story{padding:1.5rem;gap:1.5rem}.auth-story h1{font-size:2rem;margin-bottom:.6rem}.auth-story p{margin-bottom:0}.auth-story .auth-art,.auth-story .auth-bottom{display:none}.auth-form{padding:2rem 1.3rem}.form-grid,.status-list{grid-template-columns:1fr}.row{align-items:flex-start}.row-actions button{font-size:.8rem;padding:.5rem}.hero p{font-size:.9rem}footer{padding:0 1rem 1.5rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.birthday-hero{background:linear-gradient(120deg,#fff1df,#f9e2db 65%,#e1f1eb);border-radius:22px;padding:22px;color:#19394b}.birthday-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px;margin-top:18px}.birthday-list .card{margin:0;border-top:4px solid #e8996c}

:is([data-contact-circles],[data-meeting-completion]) fieldset{border:0;margin:0;padding:0;min-width:0;display:grid;gap:14px}[data-contact-circles] .card{background:#ffe8d8;overflow-wrap:anywhere}[data-contact-circles] .check{min-height:44px}
[data-reminder-email]{overflow-wrap:anywhere}
[data-reminder-email] .card{background:#e0edf4}
[data-reminder-email] .check{min-height:44px;padding:6px 0}
[data-reminder-email] .check input{flex:0 0 auto;width:20px;height:20px;margin-top:2px;accent-color:var(--teal)}

/* Private list overview: established BayMeet mint, peach and blue surfaces. */
.group-lists-intro{background:linear-gradient(135deg,#d9f1e8,#e0edf4)}
.group-lists-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin:18px 0}
.group-list-card.complete{background:#d9f1e8}.group-list-card.own{background:#ffe3d5}.group-list-card.open{background:#e0edf4}
.group-list-card h3{overflow-wrap:anywhere}.group-list-card progress{display:block;width:100%;height:12px;accent-color:#007d85}

/* Scoped birthday sharing; existing logo and overall palette are preserved. */
.birthday-share-note{background:linear-gradient(145deg,#effaf6,#f4f8fc);border-color:#b5dfd8;}
.birthday-share-confirm{background:linear-gradient(145deg,#fff0e6,#fff8ed);border-color:#f1bea2;}
[data-birthday-sharing]{display:grid;gap:1rem;}
[data-birthday-sharing] .card{margin:0;}
#photos{display:grid;gap:.7rem;max-width:38rem}
#photos canvas{display:block;max-width:100%;height:auto;max-height:55vh;object-fit:contain;justify-self:center}
