:root{--ink:#203a34;--muted:#73817b;--green:#255e56;--green2:#34786d;--cream:#f7f7f1;--line:#e4e9e2;--gold:#d7a461;--panel:#fff;--shadow:0 18px 55px rgba(36,71,60,.08);font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1,h2{letter-spacing:-.035em}h1{font-size:clamp(2rem,4vw,3.2rem)}h2{font-size:1.5rem}.muted{color:var(--muted);line-height:1.55}.eyebrow{letter-spacing:.17em;font-size:.67rem;font-weight:800;color:var(--green2);margin-bottom:.5rem}.intro{color:#576c63;line-height:1.7;max-width:470px}.landing{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,430px);align-items:center;gap:9vw;padding:9vw;max-width:1450px;margin:auto}.hero .logo{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:var(--green);color:#f5e3c9;font-size:2.4rem;margin-bottom:2.2rem}.hero h1{font-size:clamp(2.8rem,5vw,5.3rem);line-height:1.08;margin-bottom:1.5rem}.feature-row{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:2rem;color:var(--green);font-weight:600;font-size:.85rem}.feature-row span{background:#e6eee8;padding:.65rem .85rem;border-radius:30px}.panel{background:var(--panel);border:1px solid #eaf0e7;border-radius:22px;box-shadow:var(--shadow);padding:2.5rem}.account-panel{max-width:440px;width:100%}.tabs{display:flex;border-radius:14px;background:#f1f4ef;padding:4px;margin-bottom:2rem}.tab{border:0;background:transparent;color:#6a7c73;border-radius:10px;padding:.75rem 1rem;flex:1;font-weight:700}.tab.active{background:white;box-shadow:0 2px 9px #244d3b17;color:var(--green)}label{display:flex;flex-direction:column;gap:.48rem;font-weight:650;font-size:.84rem;margin:1.1rem 0}input:not([type=checkbox]),select,textarea{display:block;width:100%;padding:.85rem 1rem;border:1px solid #d9e2d8;border-radius:11px;color:var(--ink);background:#fff;outline-color:var(--green)}input:focus-visible,button:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #98d1bf;outline-offset:2px}button.primary,button.secondary,button.quiet,button.square,button.danger{border:1px solid transparent;border-radius:11px;padding:.75rem .98rem;font-size:.87rem;font-weight:700}button.primary{background:var(--green);color:#fff}button.primary:hover{background:#18473f}button.secondary{background:#e7efea;color:var(--green)}button.quiet,button.square{background:#fff;border-color:var(--line);color:var(--ink)}button.quiet:hover,button.square:hover{background:#f3f6f2}button.danger{background:#fce8e4;color:#b43228}.wide{width:100%}.fineprint{font-size:.75rem;color:#85918a;line-height:1.55;margin:1.5rem 0 0}.notice{background:#fff2dd;color:#72511c;border-radius:11px;padding:1rem;line-height:1.5;margin-bottom:1rem}.textbutton{display:block;margin:1.2rem auto 0;border:0;background:transparent;color:var(--green);font-weight:700}.onboarding{min-height:100vh;display:grid;place-items:center;padding:1.25rem}.family-panel{max-width:490px;width:100%}.small-icon,.brandmark{display:grid;place-items:center;background:var(--green);color:#f5e3c9;border-radius:13px;width:40px;height:40px;font-size:1.6rem;margin-bottom:1.4rem}
.app{max-width:1650px;margin:auto;padding:1.4rem 2.8rem 2.5rem}.topbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:1.4rem;margin-bottom:2rem;gap:1rem}.brand{display:flex;gap:.9rem;align-items:center}.brand .brandmark{margin:0}.brand h1{font-size:1.45rem;margin:0}.brand .eyebrow{margin:0 0 .15rem}.top-actions{display:flex;gap:.6rem}.app-content{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:1.4rem}.calendar-section,.sidebar{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden}.calendar-section{padding:1.4rem}.toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;flex-wrap:wrap}.toolbar h2{font-size:2rem;margin:0}.toolbar-actions{display:flex;align-items:center;gap:.45rem}.toolbar-actions .square{font-size:1.5rem;line-height:1;padding:.55rem .85rem}.legend{display:flex;gap:.45rem;flex-wrap:wrap;margin:1.25rem 0}.legend-chip{display:flex;align-items:center;gap:.4rem;background:#f5f6f2;border-radius:100px;padding:.5rem .65rem;font-size:.75rem;font-weight:600}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex-shrink:0}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}.weekday{padding:.8rem .2rem;font-size:.7rem;text-transform:uppercase;color:#8a958e;text-align:center;font-weight:800;letter-spacing:.04em;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.day{background:#fff;min-height:116px;text-align:left;padding:.5rem;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:.3rem;align-items:stretch;transition:background .1s}.day:hover{background:#f6faf6}.day.outside{background:#fafbf9;color:#b5beb7}.day.selected{background:#ecf5ef;box-shadow:inset 0 0 0 2px #6b9d88}.day.today .day-number{background:var(--green);color:#fff}.day-number{align-self:flex-start;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;font-weight:700;font-size:.79rem}.event-pill{font-size:.7rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-left:3px solid var(--event-color,#467a72);background:color-mix(in srgb,var(--event-color,#467a72) 12%,white);border-radius:3px;padding:.27rem .4rem;color:#263e35;font-weight:600}.more-pill{font-size:.69rem;color:#628174;padding-left:.3rem}.sidebar{padding:1.6rem;display:flex;flex-direction:column}.sidebar h2{margin:0;font-size:1.25rem}.agenda{flex:1;margin:1.3rem 0}.agenda-item{background:#f7f8f5;border-radius:11px;padding:.9rem;display:flex;gap:.7rem;margin-bottom:.65rem}.agenda-line{width:4px;border-radius:5px;flex:none}.agenda-item h3{font-size:.89rem;letter-spacing:0;margin:0 0 .3rem}.agenda-item p{font-size:.75rem;color:#77857b;margin:0;line-height:1.6}.agenda-item .notes{font-size:.75rem;margin-top:.3rem;white-space:pre-wrap;word-break:break-word}.agenda-item{cursor:pointer}.empty-state{border:1px dashed #dce4d9;padding:1.4rem;border-radius:12px;text-align:center;color:#7e8d83;font-size:.83rem;line-height:1.6}.aside-footer{border-top:1px solid var(--line);margin-top:1.4rem;padding-top:1.1rem;color:#8e9a90;font-size:.72rem;display:flex;align-items:center;gap:.5rem}.live-dot{display:inline-block;width:7px;height:7px;background:#76b69a;border-radius:50%}.modal{border:1px solid var(--line);border-radius:20px;box-shadow:0 25px 75px #172f2880;padding:1.5rem;width:min(calc(100% - 2rem),480px);max-height:90vh;overflow-y:auto;color:var(--ink)}.modal::backdrop{background:#102e2488}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.modal-head h2{margin:0}.modal-head .square{font-size:1.3rem;line-height:1}.modal label{margin:.85rem 0}.form-row{display:flex;gap:1rem}.form-row>label{flex:1;min-width:0}.toggle-row{display:flex;align-items:center;gap:.5rem;height:43px}.toggle-row input{width:19px;height:19px;accent-color:var(--green)}.dialog-actions{display:flex;align-items:center;gap:.5rem;margin-top:1.3rem}.grow{flex:1}.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:1.5rem;z-index:500;padding:.9rem 1.2rem;border-radius:12px;background:#23473e;color:white;font-size:.85rem;max-width:calc(100vw - 2rem);box-shadow:var(--shadow)}.app.wall-mode{max-width:none;padding:1.5rem}.wall-mode .top-actions #signOutButton,.wall-mode #inviteButton,.wall-mode #newEventButton,.wall-mode #addSelectedDay,.wall-mode .aside-footer{display:none}.wall-mode .app-content{grid-template-columns:minmax(0,1fr) 270px}.wall-mode .day{min-height:clamp(125px,13vh,220px)}.wall-mode .day-number{font-size:1rem;width:33px;height:33px}.wall-mode .event-pill{font-size:.85rem}.wall-mode .month-grid{min-height:70vh}
@media(max-width:1020px){.app{padding:1rem}.app-content{grid-template-columns:minmax(0,1fr)}.sidebar{min-height:250px}.landing{padding:6vw;gap:4vw}}
@media(max-width:650px){.landing{display:flex;flex-direction:column;align-items:stretch;gap:2rem;padding:2rem 1rem}.hero .logo{margin-bottom:1rem}.hero h1{font-size:2.55rem}.intro{margin-bottom:0}.feature-row{margin-top:1rem}.panel{padding:1.5rem}.account-panel{max-width:none}.app{padding:.5rem}.topbar{align-items:flex-start;padding:.8rem .3rem 1rem;flex-wrap:wrap;margin-bottom:.7rem}.top-actions{width:100%;justify-content:flex-start;gap:.35rem}.top-actions button{font-size:.76rem;padding:.5rem .65rem}.calendar-section{padding:.7rem;border-radius:14px}.toolbar{align-items:center}.toolbar h2{font-size:1.5rem}.toolbar-actions{flex-wrap:wrap}.toolbar-actions button{padding:.6rem;font-size:.74rem}.legend{margin:.9rem 0}.month-grid{min-width:0}.weekday{font-size:.58rem;padding:.55rem .1rem}.day{min-height:78px;padding:.2rem;gap:.18rem}.day-number{width:23px;height:23px;font-size:.7rem}.event-pill{font-size:.58rem;padding:.16rem .15rem;border-left-width:2px}.more-pill{font-size:.57rem}.sidebar{border-radius:14px}.wall-mode .month-grid{min-width:850px}.wall-mode .calendar-scroll{overflow-x:auto}.form-row{gap:.5rem}}
