
:root{
  --navy:#1d2a48;--navy2:#26365c;--ink:#1c2233;--sub:#5e5a4e;--line:#efe6d2;--bg:#fbf3df;--paper:#fff7e6;--card:#fff;
  --lemon:#ffd23f;--lemon-bg:#fff8db;--lemon-ink:#7a5a00;
  --blue:#2f6fde;--blue-bg:#eaf2ff;--green:#1f8a5b;--green-bg:#e6f6ee;--pink:#c2366b;--pink-bg:#fdebf2;
  --purple:#6b47c9;--purple-bg:#f0ebff;--orange:#c25a12;--orange-bg:#fff0e3;--red:#c62f2f;--red-bg:#fdeaea;
  --r:16px;--gap:12px;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{margin:0;color:var(--ink);background:
  radial-gradient(520px 340px at 92% 0,rgba(255,206,64,.38),rgba(255,206,64,0) 70%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .33 0 0 0 0 .08 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"),
  var(--paper);background-repeat:no-repeat,repeat;font:16px/1.45 system-ui,-apple-system,"Segoe UI","Rubik","Heebo",Arial,sans-serif}
a{color:inherit}
bdi{unicode-bidi:isolate}
.wrap{max-width:1240px;margin:0 auto;padding:0 12px}
/* header */
.top{background:var(--navy);color:#fff;position:relative}
.top .wrap{display:flex;align-items:center;gap:12px;min-height:58px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0}
.brand .logo{width:36px;height:36px;border-radius:12px;background:#fff3c4;display:grid;place-items:center;flex:none}
.lemon{display:block;width:100%;height:100%;overflow:visible}
.brand .logo .lemon{width:30px;height:29px}
.brand b{font-size:19px;display:block;line-height:1.15}
.brand small{display:block;color:#c5cde0;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top .sp{flex:1}
.who{display:flex;align-items:center;gap:8px;font-size:14px;color:#dfe5f2}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 16px;border-radius:12px;border:0;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;white-space:nowrap}
.btn svg{width:18px;height:18px;flex:none}
.btn-lemon{background:var(--lemon);color:#2a2100}
.btn-ghost{background:rgba(255,255,255,.12);color:#fff}
.btn-line{background:#fff;color:var(--ink);border:1px solid var(--line)}
.btn-blue{background:var(--blue);color:#fff}
.btn-red{background:var(--red);color:#fff}
.btn-sm{min-height:36px;padding:0 12px;font-size:14px;border-radius:10px}
/* nav */
.tabs{background:var(--navy2);position:relative;box-shadow:inset 0 -1px 0 rgba(255,255,255,.06)}
/* a lemon-yellow scalloped awning under the header, like a gan's sunshade (under the tabs on desktop, the header on phones) */
.tabs::after,.top::after{content:"";position:absolute;inset-inline:0;bottom:-9px;height:9px;z-index:3;pointer-events:none;
  background:radial-gradient(circle at 9px 0,var(--lemon) 8.5px,transparent 9px) 0 0/18px 9px repeat-x}
.top::after{display:none}
.tabs nav{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none}
.tabs a{display:flex;align-items:center;gap:7px;padding:0 14px;min-height:44px;color:#cfd7ea;text-decoration:none;font-size:15px;white-space:nowrap;border-bottom:3px solid transparent}
.tabs a svg{width:18px;height:18px}
.tabs a[aria-current]{color:#fff;border-color:var(--lemon);font-weight:600}
.tabs .lock{width:13px;height:13px;opacity:.7}
.bottom{display:none}
.demo{color:var(--lemon-ink);font-size:13px;text-align:center;padding:14px 10px 0}
main{padding:18px 0 28px}
.demo+main{padding-top:10px}
h1{font-size:22px;margin:4px 0 12px}
/* panels */
.grid{display:grid;gap:var(--gap);grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
.col{display:grid;gap:var(--gap);align-content:start;min-width:0}
.panel{background:var(--card);border-radius:18px;padding:12px 14px;border-top:5px solid var(--hue,var(--blue));box-shadow:0 1px 0 rgba(120,90,20,.06),0 6px 18px -10px rgba(120,90,20,.25);min-width:0}
.panel>h2{display:flex;align-items:center;gap:8px;margin:0 0 8px;padding-bottom:8px;border-bottom:1px solid var(--hue-bg,var(--line));font-size:17px;color:var(--hue,var(--blue))}
.panel>h2 svg{width:20px;height:20px;flex:none}
.panel>h2 .more{margin-inline-start:auto;font-size:14px;font-weight:500;color:var(--sub);text-decoration:none;display:flex;align-items:center;gap:2px}
.panel>h2 .more svg{width:16px;height:16px}
/* headings in the darker gold, green and orange: the old ones were 3.4:1 (gold), 4.3–4.4:1 */
.h-blue{--hue:var(--blue);--hue-bg:var(--blue-bg)}.h-green{--hue:#17734b;--hue-bg:var(--green-bg)}
.h-lemon{--hue:#7a5a00;--hue-bg:var(--lemon-bg)}.h-pink{--hue:var(--pink);--hue-bg:var(--pink-bg)}
.h-purple{--hue:var(--purple);--hue-bg:var(--purple-bg)}.h-orange{--hue:#9c4209;--hue-bg:var(--orange-bg)}
/* date rows */
.rows{list-style:none;margin:0;padding:0}
.row{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);min-width:0}
.row:last-child{border-bottom:0}
.chip{flex:none;width:50px;text-align:center;border-radius:10px;background:var(--bg);padding:4px 0;line-height:1.1}
.chip b{display:block;font-size:20px}
.chip small{display:block;font-size:12px;color:var(--sub)}
.row .t{min-width:0;flex:1}
.row .t b{display:block;font-weight:650}
.row .t>span{display:block;color:var(--sub);font-size:14px}
.row .tag{font-size:11.5px;padding:1px 7px;vertical-align:1px}
.tag{display:inline-block;font-size:12px;font-weight:600;padding:2px 8px;border-radius:99px;white-space:nowrap;flex:none}
.k-holiday{background:var(--purple-bg);color:var(--purple)}.k-vacation,.k-closure{background:var(--red-bg);color:var(--red)}
.k-tzaharon{background:var(--orange-bg);color:#9c4209}.k-event{background:var(--blue-bg);color:#2259c4}.k-party{background:var(--pink-bg);color:var(--pink)}
.when{font-size:13px;color:var(--sub);white-space:nowrap;flex:none}
.when.soon{color:var(--red);font-weight:600}
/* facts */
.fact{display:flex;gap:10px;align-items:flex-start;padding:7px 0;border-bottom:1px solid var(--line)}
.fact:last-child{border-bottom:0}
.fact .ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex:none;background:var(--hue-bg,var(--bg));color:var(--hue,var(--ink))}
.fact .ic svg{width:19px;height:19px}
.fact b{display:block}
.fact span{color:var(--sub);font-size:14px}
.big{font-size:18px;font-weight:700}
.note{background:var(--lemon-bg);color:var(--lemon-ink);border-radius:10px;padding:8px 10px;font-size:14px;margin-top:8px}
/* photos */
.thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}
.thumbs a,.thumbs .ph{display:block;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#f1e8d3;position:relative}
.thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.thumbs .mark{position:absolute;bottom:4px;inset-inline-start:4px;background:rgba(0,0,0,.55);color:#fff;font-size:11px;border-radius:99px;padding:1px 7px}
.gallery{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px}
.gallery a{display:block;aspect-ratio:1;overflow:hidden;border-radius:8px;background:#f1e8d3;position:relative}
.gallery img{width:100%;height:100%;object-fit:cover;display:block}
.gallery .mark{position:absolute;bottom:4px;inset-inline-start:4px;width:22px;height:22px;border-radius:50%;background:var(--lemon);display:grid;place-items:center;font-size:12px}
.day{display:flex;align-items:baseline;gap:8px;margin:14px 0 6px;font-weight:700}
.day span{color:var(--sub);font-weight:400;font-size:14px}
.locked{display:flex;gap:12px;align-items:center;background:linear-gradient(135deg,var(--green-bg),#fff);border-radius:12px;padding:14px}
.locked .ic{width:44px;height:44px;border-radius:12px;background:#fff;display:grid;place-items:center;color:var(--green);flex:none}
.locked .ic svg{width:24px;height:24px}
.locked b{display:block}
.locked span{color:var(--sub);font-size:14px}
.blur{filter:blur(10px) saturate(.8);opacity:.7}
.seg{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}
.seg a{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:99px;background:#fff;border:1px solid var(--line);text-decoration:none;font-size:15px;white-space:nowrap}
.seg a[aria-current]{background:var(--navy);border-color:var(--navy);color:#fff}
.cal{grid-template-columns:minmax(0,2.6fr) minmax(0,1fr)}
.now>h2{font-size:20px}
.now>h2 .mo{font-size:15px;font-weight:500;color:var(--sub)}
.now h3.soon{margin:6px 0 0;padding-top:8px;border-top:1px solid var(--blue-bg);font-size:14px;color:#2259c4}
.year{--hue:var(--navy);--hue-bg:var(--line);border-top:3px solid #e6d6ad}
.ym h3{margin:10px 0 2px;font-size:14px;color:#2259c4}
.ym:first-of-type h3{margin-top:2px}
.ym ul{list-style:none;margin:0;padding:0}
.ym li{display:flex;gap:10px;align-items:baseline;padding:6px 0;border-bottom:1px solid var(--line);min-width:0}
.ym li:last-child{border-bottom:0}
.ym .d{flex:none;width:58px;color:var(--sub);font-size:13px}
.ym .d b{color:var(--ink);font-size:16px}
.ym .t{min-width:0;flex:1}
.ym .t b{font-weight:600}
.ym .tag{font-size:11.5px;padding:1px 7px;vertical-align:1px}
.ym .x{color:var(--sub);font-size:14px}
.ym .x::before{content:' · '}
.bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.bar h1{margin:0}
.bar .sp{flex:1}
.hint{color:var(--sub);font-size:14px;margin:8px 0}
/* viewer */
.viewer{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:var(--gap);align-items:start}
.viewer .pic{background:#111;border-radius:var(--r);overflow:hidden;display:grid;place-items:center;max-height:78vh}
.viewer .pic img{max-width:100%;max-height:78vh;display:block}
.kids{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.kid{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border-radius:99px;border:2px solid var(--line);background:#fff;font:inherit;font-weight:600;cursor:pointer}
.kid[aria-pressed=true]{border-color:#9a7300;background:var(--lemon-bg)}
.kid svg{width:18px;height:18px}
.danger{color:var(--red);background:none;border:0;font:inherit;font-size:14px;cursor:pointer;padding:8px 0;text-decoration:underline}
.confirm{border:2px solid var(--red);border-radius:12px;padding:12px;margin-top:8px;background:var(--red-bg)}
.confirm b{display:block;margin-bottom:4px}
.confirm .acts{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
/* people & contacts */
.person{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);min-width:0}
.person:last-child{border-bottom:0}
.av{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-weight:700;flex:none;background:var(--hue-bg,var(--bg));color:var(--hue,var(--ink))}
.person .t{flex:1;min-width:0}
.person .t b{display:block}
.person .t span{color:var(--sub);font-size:14px}
.icons{display:flex;gap:6px;flex:none}
.icon{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:var(--bg);color:var(--ink);text-decoration:none}
.icon svg{width:19px;height:19px}
.icon.wa{color:#128c4a;background:#e7f7ee}
.search{width:100%;min-height:48px;border:1px solid var(--line);border-radius:12px;padding:0 14px;font:inherit;background:#fff}
.fam{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:10px;padding:10px 0;border-bottom:1px solid var(--line);align-items:start}
.fam .kidn{font-weight:700}
.fam .par{display:flex;align-items:center;gap:8px;justify-content:space-between;min-height:40px}
.fam .par span{min-width:0}
.fam .par small{color:var(--sub);font-size:14px}
.fam .par small.inl{margin-inline-start:6px}
.fam .par .icon{width:38px;height:38px}
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--gap)}
.linkrow{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);text-decoration:none}
.linkrow:last-child{border-bottom:0}
.linkrow .t{flex:1;min-width:0}
.linkrow .t b{display:block}
.linkrow .t span{color:var(--sub);font-size:14px}
.linkrow .chev{width:18px;height:18px;color:var(--sub);flex:none}
/* forms */
.form{max-width:520px;margin:0 auto}
.form .panel{padding:18px}
label{display:block;font-weight:600;margin:10px 0 6px}
input[type=tel],input[type=text],input[inputmode=numeric]{width:100%;min-height:50px;border:1px solid #cdd3df;border-radius:12px;padding:0 14px;font:inherit;font-size:18px;direction:ltr;text-align:right}
.steps{counter-reset:s;list-style:none;padding:0;margin:10px 0}
.steps li{counter-increment:s;display:flex;gap:10px;align-items:center;padding:6px 0}
.steps li:before{content:counter(s);width:28px;height:28px;border-radius:50%;background:var(--lemon);display:grid;place-items:center;font-weight:700;flex:none}
.err{background:var(--red-bg);color:var(--red);border-radius:10px;padding:8px 10px;margin:8px 0}
.ok{background:var(--green-bg);color:var(--green);border-radius:10px;padding:8px 10px;margin:8px 0}
.choice{display:flex;gap:10px;align-items:flex-start;border:2px solid var(--line);border-radius:12px;padding:10px 12px;margin:8px 0;cursor:pointer;font-weight:500}
.choice input{margin-top:4px;width:20px;height:20px}
.prose{max-width:760px}
.prose h2{font-size:18px;margin:18px 0 6px}
.prose p,.prose li{color:#2c3448}
/* the lemon's moments: the day's greeting, the wave after sign-in, empty spots, a birthday burst */
.hello{display:flex;align-items:center;gap:10px;margin:0;min-width:0;padding:4px 0}
.hello .lm{width:58px;height:56px;flex:none;position:relative}
.hello .bubble{position:relative;margin:0;padding:9px 14px;border-radius:16px;min-width:0;font-size:16px;line-height:1.35;background:#fff;color:var(--ink);box-shadow:0 4px 14px -8px rgba(120,90,20,.45)}
.hello .bubble b{font-weight:700}
.hello .bubble::before{content:"";position:absolute;top:50%;inset-inline-start:-7px;width:14px;height:14px;margin-top:-7px;background:inherit;transform:rotate(45deg);border-radius:3px}
.hi{display:flex;align-items:center;gap:12px;margin:0 0 6px}
.hi .lm{width:84px;height:81px;flex:none}
.hi h2{margin:0;font-size:24px;color:var(--navy)}
.hi p{margin:2px 0 0;color:var(--sub)}
.arm-wave{transform-box:view-box;transform-origin:82px 60px;animation:wave .55s ease-in-out 4 alternate both}
@keyframes wave{from{transform:rotate(-12deg)}to{transform:rotate(18deg)}}
.pop-in{animation:popin .45s cubic-bezier(.3,1.5,.5,1) both}
@keyframes popin{from{transform:scale(.6) translateY(8px);opacity:0}}
.empty{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:var(--r);margin:0 0 6px;background:#fff;border:2px dashed #ecd9a6}
.empty{max-width:560px}
.panel .empty{margin:4px 0;padding:6px 0;background:none;border:0;max-width:none}
.empty .lm{width:64px;height:62px;flex:none}
.empty b{display:block;font-size:17px}
.empty span span{display:block;color:var(--sub);font-size:15px}
.today{font-weight:700;color:var(--ink)}
.confetti{position:absolute;top:45%;left:50%;width:0;height:0;pointer-events:none;z-index:2}
.confetti i{position:absolute;left:-3px;top:-4px;width:6px;height:9px;border-radius:2px;background:var(--c);opacity:0;animation:pop 1.3s cubic-bezier(.15,.75,.35,1) .1s both}
.confetti i.o{width:7px;height:7px;border-radius:50%}
@keyframes pop{0%{opacity:1;transform:translate(0,0) rotate(0)}75%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r))}}
@media (prefers-reduced-motion:reduce){.confetti{display:none}.arm-wave,.pop-in{animation:none}}
footer{color:var(--sub);font-size:13px;padding:10px 0 90px;text-align:center}
footer a{color:var(--sub)}
/* phone */
@media (max-width:760px){
  .tabs{display:none}
  .top::after{display:block}
  .bottom{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;inset-inline:0;background:#fffdf7;border-top:1px solid var(--line);z-index:5;padding-bottom:env(safe-area-inset-bottom)}
  .bottom a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:58px;font-size:12px;color:var(--sub);text-decoration:none}
  .bottom a svg{width:23px;height:23px}
  .bottom a[aria-current]{color:var(--navy);font-weight:700}
  .bottom a[aria-current] svg{color:#9a7300}
  .hi .lm{width:72px;height:70px}
  .grid,.viewer,.cards{grid-template-columns:minmax(0,1fr)}
  .thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}
  .gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
  .who .name{display:none}
  .fam{grid-template-columns:minmax(0,1fr);gap:2px;padding:8px 0}
  .home .col{display:contents}
  .ym .x{display:block}
  .ym .x::before{content:none}
  .home .o1{order:1}.home .o2{order:2}.home .o3{order:3}.home .o4{order:4}.home .o5{order:5}
  .locked{flex-wrap:wrap}
  .locked .btn{width:100%}
  h1{font-size:20px}
  .brand small{max-width:52vw}
}
@media (prefers-reduced-motion:no-preference){.panel{animation:in .25s ease-out both}@keyframes in{from{opacity:0;transform:translateY(4px)}}}
