*{box-sizing:border-box}
:root{--green:#1F4D3A;--green2:#2A5F49;--burg:#7A1F2B;--burg2:#94303D;--cream:#F7F3EA;--grey:#6B6B6B;--accent:var(--burg);--on-dark:var(--cream);--ink:#1d1d1b;--bg:#F7F3EA;--card:#fff;--muted:#6B6B6B;--line:#D9D6CF}
html{scroll-behavior:smooth}
body{margin:0;font:17px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg)}
.wrap{max-width:720px;margin:0 auto;padding:0 16px}
.top{background:var(--green);color:#fff;border-bottom:4px solid var(--accent);padding:22px 0 0}
.kicker{margin:0;color:var(--on-dark);font-size:13px;letter-spacing:.12em;text-transform:uppercase}
h1{margin:4px 0 14px;font-size:32px;color:var(--on-dark)}
.tabs{display:flex;gap:6px;overflow-x:auto}
.tabs a{flex:1;text-align:center;color:#fff;text-decoration:none;padding:12px 8px;border-radius:10px 10px 0 0;font-weight:600;background:var(--green2);min-height:48px}
.tabs a:hover,.tabs a:focus-visible{background:var(--burg);color:#fff}
section{padding-top:22px;scroll-margin-top:8px}
h2{color:var(--green);font-size:24px;margin:8px 0 12px;padding-left:10px;border-left:5px solid var(--accent)}
h3{margin:0 0 8px;font-size:19px;color:var(--green)}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:16px;margin:0 0 14px;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.muted{color:var(--muted);margin:0 0 12px}
.preview{display:block;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin:0 0 12px;max-height:340px}
.preview img{display:block;width:100%;height:auto}
.btn{display:flex;align-items:center;justify-content:center;min-height:52px;padding:12px 16px;border-radius:12px;font-weight:700;text-decoration:none;margin:8px 0 0;text-align:center}
.btn.accent{background:var(--burg);color:#fff}
.btn.accent:hover{background:var(--burg2)}
.btn.dark{background:var(--green);color:var(--on-dark)}
.note{margin:12px 0 0;padding:10px 12px;background:#F7F3EA;border-radius:10px;font-size:15px}
.picks{list-style:none;margin:0;padding:0}
.picks li+li{margin-top:8px}
.pick{display:grid;grid-template-columns:1fr auto;grid-template-areas:"n p" "n g";gap:2px 10px;align-items:center;min-height:56px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--ink);background:#fff}
.pick:hover{border-color:var(--accent)}
.pick-name{grid-area:n;font-weight:600}
.price{grid-area:p;font-weight:800;text-align:right}
.go{grid-area:g;font-size:13px;color:var(--burg);text-align:right;font-weight:700}
.tag{display:inline-block;margin-left:6px;font-size:11px;background:var(--green);color:var(--on-dark);padding:2px 7px;border-radius:20px;vertical-align:middle}
.warn{background:var(--green);color:#fff;border-left:5px solid var(--accent);padding:12px 14px;border-radius:10px;margin:0 0 14px}
.acct-side{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin:0 0 14px}
.side-title{font-size:20px;color:#111;border-bottom:2px solid var(--accent);padding-bottom:6px;margin-bottom:6px}
.group{padding:10px 0;border-bottom:1px solid var(--line)}
.group:last-child{border-bottom:0}
.group h4{margin:0 0 6px;font-size:16px}
.empty{border:2px dashed #D9D6CF;border-radius:10px;padding:12px;color:var(--muted);font-size:15px;min-height:48px}
.foot{color:var(--muted);font-size:14px;padding:16px 16px 40px}
.foot p{margin:4px 0}
a:focus-visible{outline:3px solid var(--accent);outline-offset:2px}

/* ===== Added Nov 2026: Photos & Kids ===== */
.big-tiles{display:grid;grid-template-columns:1fr;gap:12px;padding-top:20px}
.tile{display:flex;align-items:center;gap:14px;min-height:84px;padding:14px 16px;border-radius:16px;background:var(--green);color:#fff;text-decoration:none;border:2px solid var(--accent);box-shadow:0 2px 8px rgba(0,0,0,.12)}
.tile:hover{background:var(--green2)}
.tile-ico{font-size:34px;line-height:1}
.tile-txt{flex:1;display:flex;flex-direction:column}
.tile-txt strong{font-size:22px;color:var(--on-dark)}
.tile-txt small{font-size:15px;color:#ddd}
.tile-go{font-size:34px;color:var(--on-dark);font-weight:700}
@media(min-width:560px){.big-tiles{grid-template-columns:1fr 1fr}}
.top.sub{padding:16px 0 4px}
.back{display:inline-flex;align-items:center;min-height:48px;color:var(--on-dark);text-decoration:none;font-weight:700;font-size:17px}
.year-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:560px){.year-grid{grid-template-columns:repeat(4,1fr)}}
.year-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:88px;background:#fff;border:1px solid var(--line);border-top:4px solid var(--accent);border-radius:14px;text-decoration:none;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.06)}
.year-card strong{font-size:28px;font-weight:800}
.year-card small{font-size:13px;color:var(--muted)}
.year-card:hover{border-color:var(--accent)}
.occ-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.occ{display:flex;flex-direction:column;justify-content:center;min-height:86px;padding:12px;border-radius:14px;background:#fff;border:1px solid var(--line);text-decoration:none;color:var(--ink)}
.occ strong{font-size:18px}
.occ small{font-size:13px;margin-top:4px}
.occ.soon{background:#faf8f2;border-style:dashed;border-color:#D9D6CF}
.occ.soon small{color:var(--muted)}
.occ.open{border:2px solid var(--accent)}
.occ.open small{color:var(--burg);font-weight:700}
.btn.light{background:#fff;border:1px solid var(--line);color:var(--ink);justify-content:flex-start;margin:0 0 6px}
.add-occ{margin-top:14px}
.add-occ .btn{width:100%;border:0;font:inherit;font-weight:700;cursor:pointer}
.add-row{margin-top:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px}
.add-row label{display:block;font-weight:700;margin-bottom:6px}
.add-row input{width:100%;min-height:52px;font-size:18px;padding:10px 12px;border:2px solid var(--line);border-radius:10px}
.add-row input:focus{outline:none;border-color:var(--accent)}
.soon-tag{display:inline-block;font-size:12px;font-weight:700;background:#F6E8EA;color:var(--burg);border:1px solid #E3BFC4;padding:2px 8px;border-radius:20px;vertical-align:middle}
.btn.soon-btn{background:#f1eee6;color:#5c5a55;gap:10px;cursor:default}
.kid h3{display:flex;align-items:center;gap:6px;font-size:21px}
.kid-ico{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:var(--green);color:var(--on-dark);font-weight:800;font-size:18px}
button:focus-visible,.year-card:focus-visible,.occ:focus-visible,.tile:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
[hidden]{display:none!important}
.occ .occ-share{margin-top:6px;font-size:12px;color:#5c5a55;font-weight:600}
.occ .occ-share::before{content:"👤 "}
.shared-h{margin:16px 0 4px;font-size:15px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.shared-none{margin:4px 0 0;padding:10px 12px;border:2px dashed #D9D6CF;border-radius:10px;color:var(--muted);font-size:15px}

/* ===== Added Nov 2026: Family Dates, Schedule, Tasks ===== */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.chip{min-height:44px;padding:8px 14px;border-radius:24px;border:2px solid var(--green);background:#fff;color:#111;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.chip[aria-pressed="true"]{background:var(--green);color:var(--on-dark)}
.chip:focus-visible,.task-row input:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.date-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px}
.type-badge{display:inline-block;font-size:13px;font-weight:700;padding:3px 10px;border-radius:20px;background:#f1eee6;color:#333}
.t-yahrzeit{background:#e9e9ef;color:#2c2c3a}
.t-simcha{background:var(--green);color:var(--on-dark)}
.sample-tag{display:inline-block;font-size:12px;font-weight:800;background:#fff;color:#a0461a;border:1.5px dashed #c4723f;padding:2px 8px;border-radius:20px}
.card.is-sample{border-style:dashed}
.rel{margin:-4px 0 10px;color:var(--muted);font-size:15px}
.two-dates{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.dbox{background:#faf8f2;border:1px solid var(--line);border-radius:10px;padding:8px 10px}
.dbox small{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.dbox strong{font-size:17px}
.when{margin:10px 0 0;font-weight:700;color:var(--muted)}
.when.accent,.when-inline.accent,.day-n.accent,.due.accent{color:var(--burg)}
.notes{margin:8px 0 0;font-size:15px;color:#333}
.soon-hl{border:2px solid var(--burg);background:linear-gradient(#F6E8EA,#fff 70%)}
.soon-hl .dbox{background:#fff}
.simcha-when{margin:0 0 4px}
.when-inline{font-weight:700;color:var(--muted)}
.place{margin:4px 0 0;font-size:15px}
.past{opacity:.55;filter:grayscale(1)}
.day-h{display:flex;justify-content:space-between;align-items:baseline;gap:10px;border-bottom:2px solid var(--accent);padding-bottom:6px}
.day-n{font-size:14px;font-weight:700;color:var(--muted)}
.ev{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.ev:last-child{border-bottom:0;padding-bottom:0}
.ev-time{flex:0 0 78px;font-weight:800;font-size:15px;padding-top:1px}
.ev-txt{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.ev-txt small{color:var(--muted);font-size:15px}
.task-list{list-style:none;margin:0;padding:0}
.task{background:#fff;border:1px solid var(--line);border-radius:14px;margin:0 0 10px}
.task-row{display:flex;align-items:flex-start;gap:14px;padding:14px 16px;min-height:64px;cursor:pointer}
.task-row input{flex:0 0 auto;width:28px;height:28px;margin:2px 0 0;accent-color:#7A1F2B}
.task-txt{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.task-txt strong{font-size:18px}
.due{font-size:14px;color:var(--muted);font-weight:600}
.due.late{color:#a3261b}
.task.done .task-txt strong{text-decoration:line-through;color:var(--muted)}
.task.done{background:#faf8f2}

/* ===== Added Nov 8, 2026: Send to Tab & Expenses ===== */
.send-card{padding:16px}
.send-label{display:block;font-weight:700;margin:0 0 8px}
.send-card textarea{width:100%;min-height:150px;font:inherit;font-size:18px;padding:12px;border:2px solid var(--line);border-radius:12px;resize:vertical}
.send-card textarea:focus{outline:none;border-color:var(--accent)}
.send-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:6px}
.send-actions .btn{margin:0;border:0;font:inherit;font-weight:700;font-size:16px;cursor:pointer;width:100%}
.pick-files{position:relative;overflow:hidden}
.pick-files input{position:absolute;inset:0;opacity:0;cursor:pointer;font-size:0}
.btn.rec-on{background:#a3261b;color:#fff}
.rec-live{margin:10px 0 0;font-weight:700;color:#a3261b;display:flex;align-items:center;gap:8px}
.rec-dot{width:12px;height:12px;border-radius:50%;background:#d62d20;animation:recp 1s infinite}
@keyframes recp{50%{opacity:.25}}
.file-list{list-style:none;margin:12px 0 0;padding:0}
.file-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;margin-bottom:6px;background:#faf8f2}
.f-ico{font-size:22px}
.f-txt{flex:1;display:flex;flex-direction:column;min-width:0}
.f-txt strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.f-txt small{font-size:13px;color:var(--muted)}
.f-x{width:44px;height:44px;border:0;border-radius:10px;background:#fff;font-size:18px;cursor:pointer}
.size-note{margin:8px 0 0;font-size:14px;color:var(--muted)}
.size-note.bad{color:#a3261b;font-weight:700}
.send-btn{width:100%;border:0;font:inherit;font-size:20px;font-weight:800;min-height:60px;margin-top:14px;cursor:pointer}
.send-btn:disabled{opacity:.7}
.send-status{margin-top:12px;padding:12px 14px;border-radius:12px;font-size:16px}
.send-status.good{background:#e8f5e9;border:2px solid #2e7d32;color:#1b5e20}
.send-status.bad{background:#fdecea;border:2px solid #c62828;color:#8e1b12}
.send-status.wait{background:#F7F3EA;border:2px solid var(--accent)}
.send-status a{color:inherit;font-weight:700}
.alt-send{margin:4px 0 0;font-size:15px;color:var(--muted)}
.alt-send a{color:var(--burg);font-weight:700}
.recent-list{list-style:none;margin:0;padding:0}
.recent{display:flex;flex-direction:column;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:6px}
.recent small{color:#2e7d32;font-weight:600}
.split{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.split-box{border-radius:14px;padding:14px;background:var(--green);color:#fff}
.split-box small{display:block;font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--on-dark)}
.split-box strong{font-size:26px}
.split-box.s-personal{background:#fff;color:#111;border:2px solid var(--accent)}
.split-box.s-personal small{color:var(--burg)}
.split-box.s-other{background:#f1eee6;color:#111;grid-column:1/-1}
.split-box.s-other small{color:#5c5a55}
.review-count{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0 0;font-size:18px}
.unk-pill{font-size:14px;font-weight:700;background:#fdecea;color:#a3261b;border:1px solid #e3a59f;padding:3px 10px;border-radius:20px}
.bill-list{list-style:none;margin:0;padding:0}
.bill{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:8px}
.filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px}
.filters label{display:flex;flex-direction:column;font-size:13px;font-weight:700;color:var(--muted);gap:4px}
.filters select{min-height:48px;font:inherit;font-size:16px;padding:8px;border:2px solid var(--line);border-radius:10px;background:#fff;color:#111}
.cat-card h3{font-size:17px}
.cat-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--line);font-size:16px}
.cat-total{border-bottom:0;border-top:2px solid var(--green);font-size:18px}
.month-h{margin:18px 0 8px;font-size:18px;color:var(--burg)}
.exp-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.exp-l{display:flex;flex-direction:column;min-width:0}
.exp-m{font-size:18px}
.exp-l small{color:var(--muted);font-size:14px}
.exp-amt{font-size:20px;font-weight:800;white-space:nowrap}
.exp-tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 10px}
.b-business{background:var(--green);color:var(--on-dark)}
.b-other{background:#e9e9ef}
.seg{display:flex;gap:6px;margin:0 0 8px}
.seg-b{flex:1;min-height:46px;border:2px solid #D9D6CF;border-radius:10px;background:#fff;font:inherit;font-size:15px;font-weight:700;color:#333;cursor:pointer;padding:6px}
.seg-b[aria-pressed="true"]{background:var(--green);color:var(--on-dark);border-color:var(--green)}
.seg-b.warnb[aria-pressed="true"]{background:#c62828;color:#fff;border-color:#c62828}
.exp-checks{display:flex;gap:10px;margin:2px 0 8px}
.chk{flex:1;display:flex;align-items:center;gap:8px;min-height:46px;padding:6px 10px;border:2px solid #D9D6CF;border-radius:10px;font-weight:700;font-size:15px;cursor:pointer}
.chk input{width:24px;height:24px;accent-color:#2e7d32}
.exp-note{width:100%;min-height:46px;font:inherit;font-size:16px;padding:8px 10px;border:2px solid var(--line);border-radius:10px}
.exp-unknown{border:2px solid #c62828;background:#fff5f4}
.exp-done{background:#f3faf3;border-color:#9ccc9f}
.save-state{min-height:22px;font-size:14px;color:#2e7d32;font-weight:600}
.done-btn{width:100%;border:0;font:inherit;font-weight:800;font-size:18px;cursor:pointer}

/* Backup AI (auto-sort) */
.auto-status{margin-top:10px;padding:12px 14px;border-radius:12px;font-size:16px;background:#f1eee6;border:2px solid #D9D6CF}
.auto-status.good{background:#e8f5e9;border-color:#2e7d32;color:#1b5e20}.auto-status.wait{background:#F7F3EA;border-color:var(--accent)}.auto-status a{color:inherit;font-weight:700}
.t-auto{background:#e3ecfa;color:#1d3f7a}
.auto-fix{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;margin:4px 0 8px}.auto-fix label{flex:1 1 180px;font-size:13px;font-weight:700;color:var(--muted)}
.auto-cat{display:block;width:100%;min-height:46px;font:inherit;font-size:16px;padding:6px 8px;border:2px solid #D9D6CF;border-radius:10px;background:#fff;color:#111}
.auto-rm{flex:1 1 160px;font-size:14px}
/* Health */
.hp-grid{display:grid;gap:12px}.hp-tile .tile-txt small{white-space:normal}
.hp-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.hp-when{display:block;font-size:18px}
.hp-count{display:block;color:var(--muted);font-size:14px}.soon-hl .hp-count{color:var(--burg);font-weight:700}
.hp-reason{margin:6px 0 2px;font-size:17px}.hp-meta{margin:0 0 6px;color:var(--muted);font-size:15px}
.hp-fu strong{display:block;font-size:17px}.is-past{opacity:.6}
#person .rel{margin:14px 0 4px}

/* ===== Nov 8, 2026: small Send to Tab pill + Welcome home ===== */
.bar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px}
.bar .kicker{min-width:0}
.send-pill{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:6px 14px;border-radius:999px;background:var(--burg);color:#fff;font-weight:800;font-size:14px;text-decoration:none;white-space:nowrap;box-shadow:0 1px 4px rgba(0,0,0,.35)}
.send-pill:hover{filter:brightness(1.06)}
.send-pill:focus-visible,.fphoto a:focus-visible{outline:3px solid #fff;outline-offset:2px}
.home-top{padding:12px 0 0}
.hero{text-align:center;padding:22px 0 30px}
.hero-he{margin:0;color:var(--on-dark);font-family:"Frank Ruhl Libre","David","Times New Roman",serif;font-size:22px;letter-spacing:.04em}
.hero-title{margin:6px 0 10px;font-family:"Playfair Display",Georgia,"Times New Roman",serif;font-weight:700;font-size:34px;line-height:1.15;color:#fff;overflow-wrap:break-word}
.hero-title span{display:block;color:var(--on-dark);font-size:40px}
.hero-sub{margin:0 auto;max-width:30em;color:#D6E3DB;font-size:16px}
.hero::after{content:"";display:block;width:90px;height:2px;margin:18px auto 0;background:var(--accent)}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.family{padding-top:20px}
.fphoto{margin:0;min-width:0}
.fphoto .frame{display:block;position:relative;aspect-ratio:4/5;border-radius:14px;overflow:hidden;background:var(--green);border:2px solid var(--accent);box-shadow:0 2px 8px rgba(0,0,0,.12)}
.fphoto.featured .frame{aspect-ratio:4/3}
.fphoto img{display:block;width:100%;height:100%;object-fit:cover}
.fphoto.ph .frame{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:repeating-linear-gradient(45deg,#FBF9F4 0 12px,#EFEBE2 12px 24px);border:2px dashed var(--accent);box-shadow:none;color:var(--burg);text-align:center;padding:8px}
.ph-ico{font-size:26px;line-height:1;color:var(--accent)}
.ph-txt{font-size:14px;font-weight:700}
.fphoto.featured.ph .ph-ico{font-size:40px}
.fphoto.featured.ph .ph-txt{font-size:17px}
.fphoto figcaption{margin-top:6px;font-size:15px;color:var(--muted);text-align:center;overflow-wrap:break-word}
.fphoto.featured figcaption{font-family:Georgia,"Times New Roman",serif;font-size:18px;color:var(--ink)}
.fgroup{margin-top:22px}
.fgroup-title{margin:0 0 10px;font-family:Georgia,"Times New Roman",serif;font-size:22px;display:flex;align-items:center;gap:10px}
.fgroup-title::after{content:"";flex:1;height:1px;background:var(--accent)}
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(min-width:560px){.fgrid{grid-template-columns:repeat(3,1fr)}.hero-title{font-size:42px}.hero-title span{font-size:52px}}
.go-title{margin:34px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:24px;display:flex;align-items:center;gap:10px}
.go-title::after{content:"";flex:1;height:1px;background:var(--accent)}
.go-title + .big-tiles{padding-top:12px}
.tabs.light{margin-top:18px}
.tabs.light a{border-radius:10px;background:#fff;border:1px solid var(--line);color:var(--ink)}
@media(max-width:360px){.send-pill{font-size:13px;padding:6px 10px}}

/* Messages page: chat with Tab */
.msg-tile{position:relative}
.msg-dot{flex:none;width:14px;height:14px;border-radius:50%;background:#e0453a;box-shadow:0 0 0 3px var(--green)}
.msg-dot[hidden]{display:none}
.send-card ~ .msg-tile,.msg-tile.in-send{margin-top:14px}
.chat-page{background:var(--bg)}
.chat-page .top .bar{min-height:48px}
.chat-page h1{margin:2px 0 12px;font-size:28px}
.chat-wrap{padding-bottom:150px}
.chat-note{margin:12px 0 4px;color:var(--muted);font-size:15px}
.chat{display:flex;flex-direction:column;gap:8px;padding:8px 0 12px}
.chat-empty{color:var(--muted);text-align:center;margin:30px 0;font-size:17px}
.chat-day{align-self:center;margin:12px 0 4px;padding:4px 12px;border-radius:999px;background:#E9E6DF;color:#4a4a4a;font-size:13px;font-weight:700}
.msg{display:flex;max-width:100%}
.msg.me{justify-content:flex-end}
.msg.tab{justify-content:flex-start}
.bubble{max-width:84%;padding:10px 14px 7px;border-radius:18px;font-size:17px;line-height:1.4;overflow-wrap:anywhere;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.msg.me .bubble{background:var(--burg);color:#fff;border-bottom-right-radius:6px}
.msg.tab .bubble{background:var(--green);color:#fff;border:1px solid var(--green2);border-bottom-left-radius:6px}
.bubble .who{display:block;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--on-dark);margin-bottom:2px}
.bubble .txt{margin:0;white-space:pre-wrap}
.bubble .txt a{color:inherit;text-decoration:underline}
.bubble .quote{display:block;font-size:13px;opacity:.75;border-left:3px solid var(--accent);padding-left:8px;margin:2px 0 6px}
.msg.me .bubble .quote{border-left-color:#fff}
.bubble .att{list-style:none;margin:6px 0 0;padding:0;font-size:14px}
.bubble .att li{padding:4px 8px;margin-top:4px;border-radius:8px;background:rgba(0,0,0,.08)}
.msg.tab .bubble .att li{background:rgba(255,255,255,.08)}
.bubble .meta{display:block;text-align:right;font-size:12px;opacity:.7;margin-top:3px}
.new-dot{color:#e0453a;font-weight:800;opacity:1}
.msg.tab .bubble .new-dot{color:#ff6b5e}
.composer{position:fixed;left:0;right:0;bottom:0;background:var(--green);border-top:3px solid var(--accent);padding:8px 0 calc(8px + env(safe-area-inset-bottom));z-index:10}
.composer-row{display:flex;align-items:flex-end;gap:8px}
.c-attach{flex:none;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:var(--green2);color:var(--on-dark);font-size:22px;cursor:pointer;position:relative;overflow:hidden}
.c-attach input{position:absolute;inset:0;opacity:0;cursor:pointer}
#chat-msg{flex:1;min-width:0;overflow-y:auto;scrollbar-width:none;min-height:46px;max-height:160px;resize:none;padding:11px 14px;border-radius:22px;border:2px solid var(--green2);background:#fff;color:#111;font:inherit;font-size:17px;line-height:1.3}
#chat-msg:focus{outline:none;border-color:var(--accent)}
.c-send{flex:none;min-height:46px;padding:0 18px;border:0;border-radius:23px;background:var(--burg);color:#fff;font-weight:800;font-size:17px;cursor:pointer}
.c-send:disabled{opacity:.6}
.c-send:focus-visible,.c-attach:focus-within{outline:3px solid #fff;outline-offset:2px}
.chat-files{margin:0 0 6px}
.chat-files .file-row{background:var(--green2);color:#fff}
.chat-status{margin:6px 2px 0;font-size:14px;color:#ddd}
.chat-status.bad{color:#ffb4ab}
.chat-status.good{color:#bfe8b0}
.chat-status a{color:var(--on-dark)}
.chat-status[hidden]{display:none}
#chat-msg::-webkit-scrollbar{display:none}

/* ===== Nov 8, 2026: home = welcome + subjects menu beside the photos ===== */
.home .hero{padding:10px 0 16px}
.home .hero-title{font-size:28px;margin:4px 0 0}
.home .hero-title span{font-size:32px}
.home .hero::after{margin-top:12px}
.home-split{display:grid;grid-template-columns:39% minmax(0,1fr);gap:10px;align-items:start;padding-top:14px}
.side-menu{position:sticky;top:8px;background:var(--green);border:2px solid var(--accent);border-radius:14px;padding:6px 4px;min-width:0}
.sm-title{margin:2px 6px 4px;padding:0;border:0;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--on-dark);font-weight:700}
.side-menu ul{list-style:none;margin:0;padding:0}
.side-menu li+li{border-top:1px solid rgba(255,255,255,.14)}
.side-menu a{display:flex;align-items:center;gap:6px;min-height:42px;padding:6px 6px;border-radius:8px;color:#fff;text-decoration:none;font-size:14px;font-weight:600;line-height:1.15}
.side-menu a:hover,.side-menu a:focus-visible{background:var(--green2);color:var(--on-dark)}
.side-menu a:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.sm-ico{flex:none;width:20px;text-align:center;font-size:15px;line-height:1}
.sm-txt{flex:1;min-width:0;overflow-wrap:anywhere}
.sm-go{flex:none;color:var(--on-dark);font-size:16px;font-weight:700}
.side-menu .msg-dot{width:9px;height:9px;box-shadow:0 0 0 2px var(--green)}
.home-photos{padding-top:0;min-width:0}
.home-photos .fgrid{grid-template-columns:1fr!important;gap:10px}
.home-photos .fgroup{margin-top:12px}
.home-photos .fgroup-title{font-size:16px;margin:0 0 6px}
.home-photos .fphoto figcaption{font-size:13px}
.home-photos .fphoto.featured figcaption{font-size:15px}
.home-photos .ph-txt{font-size:12px}
.home-photos .fphoto .frame{aspect-ratio:4/3}
@media(min-width:700px){
  .home .wrap{max-width:1040px}
  .home-split{grid-template-columns:240px minmax(0,1fr);gap:22px}
  .side-menu{padding:10px 8px}
  .side-menu a{font-size:16px;min-height:46px;padding:8px 10px;gap:10px}
  .sm-ico{font-size:18px;width:24px}
  .home-photos .fgrid{grid-template-columns:repeat(3,1fr)!important}
  .home-photos .fgroup-title{font-size:20px}
  .home .hero-title{font-size:40px}.home .hero-title span{font-size:48px}
}

/* ===== Nov 8, 2026: Family Dates from the family booklet ===== */
.h1-he{display:inline-block;font-size:18px;color:#D6E3DB;font-weight:400;margin-inline-start:6px}
.fam-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:16px}
.fam-actions .btn{margin:0;min-height:48px;font-size:15px;padding:10px 10px}
.fam-actions .btn:first-child{grid-column:1/-1}
.fam-search{margin-top:12px}
.fam-search input{width:100%;min-height:50px;font-size:17px;padding:10px 14px;border:2px solid var(--line);border-radius:12px;background:#fff}
.fam-search input:focus{outline:none;border-color:var(--accent)}
.fam-page h2 small{font-size:14px;color:var(--muted);font-weight:600}
.fam-page h2 .he{font-size:16px;color:var(--muted);font-weight:600;margin-inline-start:6px}
.small{font-size:14px}
.coming{background:var(--green);border-radius:16px;margin-top:16px;padding:14px 12px 10px;border:2px solid var(--accent)}
.coming h2{color:var(--on-dark);border-left-color:var(--accent);margin-top:0}
.coming h2 small{color:#D6E3DB}
.coming .prow{background:var(--green2);border-color:#3d7a60;color:#fff}
.coming .prow .psub,.coming .prow .pd small{color:#D6E3DB}
.coming .prow .pd small.accent{color:#F4C9CF}
.coming .shared-none{color:#e6efe9;border-color:#5f8f7a}
.plist{display:flex;flex-direction:column;gap:6px}
#coming-list{display:flex;flex-direction:column;gap:6px}
.prow{direction:rtl;display:flex;align-items:center;gap:10px;padding:9px 12px;background:#fff;border:1px solid var(--line);border-radius:12px;min-width:0}
.prow[hidden]{display:none}
.prow.soon{border-color:var(--burg);background:linear-gradient(90deg,#fff,#F6E8EA)}
.coming .prow.soon{background:var(--burg);border-color:#C4707B}
.pn{flex:1;min-width:0;text-align:right;display:flex;flex-direction:column;gap:1px}
.pname{font-size:17px;line-height:1.3;overflow-wrap:anywhere;font-family:"Frank Ruhl Libre","David","Times New Roman",serif}
.psub{display:flex;flex-wrap:wrap;gap:4px 10px;justify-content:flex-start;font-size:14px;color:var(--muted)}
.hb{font-weight:700;color:var(--burg)}
.coming .hb{color:var(--on-dark)}
.prel{font-size:13px}
.pfam{font-size:13px}
.pnote{font-size:12px;color:var(--muted)}
.pnote.check{color:#a0461a;text-align:left;direction:ltr}
.pd{direction:ltr;flex:none;display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-width:92px}
.pd strong{font-size:14px;white-space:nowrap}
.pd small{font-size:13px;color:var(--muted)}
.pd small.accent{color:var(--burg);font-weight:700}
.added-tag{align-self:flex-end;display:inline-block;font-size:11px;font-weight:800;background:#e8f4ea;color:#245c2f;border:1px solid #a9d3b1;padding:1px 8px;border-radius:20px}
.prow-del{flex:none;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:#fff;color:#a0461a;font-size:15px;cursor:pointer}
.fam-mine{margin-top:6px}
.fam-mine h2{font-size:28px}
.fam-mine .plist{background:#EEF4F0;border:2px solid var(--accent);border-radius:16px;padding:10px}
.fam-mine .pname{font-size:18px}
.search-empty{display:none}
details.sib{background:#fff;border:1px solid var(--line);border-radius:14px;margin:0 0 8px;overflow:hidden}
details.sib[hidden]{display:none}
details.sib summary{display:flex;align-items:center;gap:10px;min-height:56px;padding:10px 12px;cursor:pointer;list-style:none}
details.sib summary::-webkit-details-marker{display:none}
details.sib summary::before{content:"▸";color:var(--accent);font-size:18px;transition:transform .15s}
details.sib[open] summary::before{transform:rotate(90deg)}
details.sib[open] summary{border-bottom:1px solid var(--line);background:#faf8f2}
.sib-t{flex:1;min-width:0;display:flex;flex-direction:column;text-align:right}
.sib-t strong{font-size:18px;font-family:"Frank Ruhl Libre","David","Times New Roman",serif}
.sib-t small{font-size:14px;color:var(--muted)}
.sib-n{flex:none;font-size:13px;color:var(--muted);font-weight:700}
details.sib .plist{padding:8px}
.fam-add .add-form{display:flex;flex-direction:column;gap:4px}
.add-form label{font-weight:700;margin-top:8px}
.add-form input,.add-form select{width:100%;min-height:50px;font-size:17px;padding:10px 12px;border:2px solid var(--line);border-radius:10px;background:#fff;font-family:inherit}
.add-form input:focus,.add-form select:focus{outline:none;border-color:var(--accent)}
.add-form .btn{border:0;font:inherit;font-weight:800;cursor:pointer;margin-top:14px}
.req{color:#a0461a}
.hint{margin:2px 0 0;font-size:13px;color:var(--muted)}
.hint.bad,.status-line.bad{color:#a0461a}
.status-line{margin:8px 0 0;font-weight:700;min-height:1.4em}
.status-line.good{color:#245c2f}
@media(min-width:700px){.fam-actions{grid-template-columns:repeat(3,1fr)}.fam-actions .btn:first-child{grid-column:auto}}
.coming .prow.more{display:none}
.coming.open .prow.more,.coming.searching .prow.more{display:flex}
.coming.open .prow.more[hidden],.coming.searching .prow.more[hidden]{display:none}
.coming .prow{padding:7px 10px}
.coming .pname{font-size:16px}
.coming-more{display:block;width:100%;margin:8px 0 2px;min-height:44px;border-radius:10px;border:1px solid #5f8f7a;background:transparent;color:var(--on-dark);font:inherit;font-weight:800;cursor:pointer}
.coming.searching .coming-more{display:none}
.coming-more[hidden]{display:none}
@media(max-width:699px){
  .side-menu .sm-go{display:none}
  .side-menu a{position:relative;font-size:14px;gap:7px;padding:6px 7px}
  .side-menu .msg-dot{position:absolute;left:19px;top:7px}
}
@media(min-width:700px){.home-photos .fphoto.featured .frame{aspect-ratio:21/9}}

/* Who can log in */
.lg-owner{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-color:var(--green);background:#EEF4F0;overflow-wrap:anywhere}
.lg-badge{background:var(--green);color:var(--on-dark);font-size:13px;font-weight:700;padding:3px 10px;border-radius:999px}
.lg-list{list-style:none;margin:0;padding:0}
.lg-person{display:flex;flex-direction:column;gap:10px}
.lg-person.paused{background:#F2F1EE;border-style:dashed}
.lg-who{min-width:0;overflow-wrap:anywhere}
.lg-name{font-weight:700;font-size:18px}
.lg-email{color:var(--muted);font-size:15px}
.lg-date{color:var(--muted);font-size:13px}
.lg-remove{flex:none;min-height:46px;padding:8px 16px;border:0;border-radius:10px;background:#c62828;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.lg-remove:disabled{opacity:.6}
.lg-msg{margin:10px 0 0;font-weight:700}
.lg-msg.ok{color:#1b6e2a}.lg-msg.bad{color:#b3261e}
.lg-small{font-size:14px;margin-top:10px}

/* Messages: where to write (Here, WhatsApp, 4 emails) */
.msg-ways{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 8px}
.mw{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:42px;padding:4px 6px;border-radius:10px;background:var(--green2);border:1px solid rgba(255,255,255,.18);color:#fff;font:inherit;font-size:14px;font-weight:700;line-height:1.1;text-decoration:none;text-align:center;cursor:pointer;min-width:0;overflow-wrap:anywhere}
.mw.on{background:var(--burg);border-color:var(--burg)}
.mw.soon{opacity:.8;font-weight:600}
.mw small{display:block;font-size:11px;font-weight:600;color:#D6E3DB;margin-top:2px}
.mw:focus-visible{outline:2px solid #fff;outline-offset:1px}
.chat-page .chat-wrap{padding-bottom:240px}
.owner-note h2{margin-top:0}

.lg-nopw{margin:0 0 10px;padding:10px 12px;background:#EEF4F0;border-left:5px solid var(--green);border-radius:10px;font-size:16px;font-weight:600;color:var(--green)}
.lg-info{font-size:15px;color:#333}
.lg-notes{font-size:14px;color:var(--muted);font-style:italic}
.lg-paused{display:inline-block;margin-left:8px;font-size:12px;font-weight:700;background:#E9E7E2;color:var(--grey);border:1px solid var(--line);padding:2px 8px;border-radius:20px;vertical-align:middle}
.lg-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.lg-btn{min-height:46px;padding:8px 10px;border-radius:10px;font:inherit;font-size:15px;font-weight:800;cursor:pointer;border:2px solid var(--line);background:#fff;color:var(--ink)}
.lg-btn.edit{border-color:var(--green);color:var(--green)}
.lg-btn.signout{border-color:var(--burg);color:var(--burg)}
.lg-btn.pause{border-color:var(--grey);color:#444}
.lg-btn.resume{background:var(--green);border-color:var(--green);color:#fff}
.lg-btn.lg-remove{background:var(--burg);border-color:var(--burg);color:#fff}
.lg-btn:disabled{opacity:.6}
.lg-btn:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.ed-form{margin:4px 0 0;border:2px solid var(--green);background:#FBFAF6;display:flex;flex-direction:column}
.ed-form h3{margin:0}
.ed-form textarea{width:100%;font-size:17px;padding:10px 12px;border:2px solid var(--line);border-radius:10px;font-family:inherit;resize:vertical}
.ed-form textarea:focus{outline:none;border-color:var(--accent)}
.ed-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ed-btns .btn{margin-top:14px}
.ed-btns .btn.light{justify-content:center;border:2px solid var(--line);font-weight:800}
.lg-hint{margin:4px 0 0;font-size:13px;color:var(--muted)}
.opt{font-weight:400;color:var(--muted);font-size:14px}

/* ===== Kids page editing ===== */
.kid-heb{margin:-2px 0 4px;font-size:19px;font-weight:700;color:var(--green);text-align:right}
.kid-info{margin:2px 0;font-size:15px;color:var(--muted);overflow-wrap:anywhere}
.kid .lg-notes{margin:4px 0}
.kid-acts{margin-top:12px}
.kid-add{width:100%;border:0;font:inherit;font-weight:800;cursor:pointer;margin:12px 0 0}
.kid-form{margin-top:12px}
.kid .kid-form{margin-top:12px}
/* ===== Logins: who's on ===== */
.lg-seen{margin-top:4px;font-size:14px;font-weight:700;color:var(--muted)}
.lg-seen.on{color:#1b6e2a}
.lg-seen.never{font-weight:600;font-style:italic}
.lg-owner .lg-seen{margin-top:6px}
.lg-seen-key{background:#fff;border-left-color:var(--line);color:var(--muted);font-size:14px}
/* ===== Moshe Assistant (corner helper, owner only) ===== */
body.has-mh{padding-bottom:96px}
.mh{position:fixed;right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));z-index:50;font-size:16px}
.mh-btn{position:relative;width:66px;height:66px;padding:0;border-radius:50%;border:3px solid var(--green);background:#fff;cursor:pointer;box-shadow:0 6px 18px rgba(31,77,58,.28),0 2px 4px rgba(0,0,0,.12);display:block;transition:transform .15s}
.mh-btn svg{width:100%;height:100%;display:block;border-radius:50%}
.mh-btn:hover{transform:scale(1.06)}
.mh-btn:focus-visible{outline:3px solid var(--burg);outline-offset:3px}
.mh-dot{position:absolute;top:0;right:0;width:16px;height:16px;border-radius:50%;background:var(--burg);border:2.5px solid #fff}
.mh-bounce{animation:mh-bounce 1.2s ease 2}
@keyframes mh-bounce{0%,100%{transform:translateY(0)}30%{transform:translateY(-10px)}50%{transform:translateY(0)}70%{transform:translateY(-4px)}}
.mh-greet{position:absolute;right:4px;bottom:80px;display:flex;align-items:flex-start;gap:2px;background:#fff;border:2px solid var(--green);border-radius:16px 16px 4px 16px;box-shadow:0 6px 16px rgba(0,0,0,.14);padding:4px 4px 4px 0;width:200px;max-width:calc(100vw - 40px)}
.mh-greet::after{content:"";position:absolute;right:22px;bottom:-9px;width:14px;height:14px;background:#fff;border-right:2px solid var(--green);border-bottom:2px solid var(--green);transform:rotate(45deg)}
.mh-greet-txt{flex:1;text-align:left;border:0;background:none;font:inherit;font-weight:700;line-height:1.3;color:var(--green);padding:8px 2px 8px 14px;cursor:pointer}
.mh-greet-x{border:0;background:none;color:var(--muted);font-size:14px;width:30px;height:30px;cursor:pointer;border-radius:50%}
.mh-pop{animation:mh-pop .45s cubic-bezier(.2,1.4,.4,1)}
@keyframes mh-pop{from{opacity:0;transform:scale(.6) translateY(10px);transform-origin:bottom right}to{opacity:1;transform:none}}
.mh-panel{padding:0;margin:0;position:fixed;right:5vw;bottom:calc(92px + env(safe-area-inset-bottom));width:90vw;max-height:min(70vh,560px);display:flex;flex-direction:column;background:var(--cream);border:2px solid var(--green);border-radius:18px;box-shadow:0 14px 40px rgba(0,0,0,.25);overflow:hidden;animation:mh-up .28s ease-out}
@keyframes mh-up{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
@media (min-width:600px){.mh-panel{width:360px;right:24px}}
.mh-head{display:flex;align-items:center;gap:10px;background:var(--green);color:#fff;padding:10px 10px 10px 12px;border-bottom:3px solid var(--burg)}
.mh-head-av{width:42px;height:42px;flex:none;border-radius:50%;border:2px solid #fff;overflow:hidden;background:#fff}
.mh-head-av svg{width:100%;height:100%;display:block}
.mh-head-t{flex:1;display:flex;flex-direction:column;line-height:1.2}
.mh-head-t strong{font-size:18px}
.mh-sub{font-size:13px;color:var(--cream);opacity:.9}
.mh-x{flex:none;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.15);color:#fff;font-size:18px;cursor:pointer}
.mh-x:focus-visible,.mh-send:focus-visible,.mh-greet-txt:focus-visible{outline:3px solid var(--burg);outline-offset:2px}
.mh-list{flex:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:6px;min-height:120px}
.mh-msg{display:flex}
.mh-msg.me{justify-content:flex-end}
.mh-b{max-width:82%;padding:8px 11px;border-radius:14px;font-size:15px;line-height:1.35;overflow-wrap:anywhere}
.mh-b p{margin:0;white-space:pre-wrap}
.mh-msg.me .mh-b{background:var(--burg);color:#fff;border-bottom-right-radius:4px}
.mh-msg.them .mh-b{background:var(--green);color:#fff;border-bottom-left-radius:4px}
.mh-files{font-size:13px;opacity:.9}
.mh-time{display:block;font-size:11px;opacity:.75;margin-top:2px;text-align:right}
.mh-empty{color:var(--muted);text-align:center;margin:20px 6px}
.mh-status{margin:0;padding:4px 12px;font-size:14px;font-weight:700;color:#1b6e2a}
.mh-status.bad{color:#b3261e}
.mh-form{display:flex;gap:8px;padding:8px 10px;background:#fff;border-top:1px solid var(--line)}
.mh-box{flex:1;min-width:0;min-height:46px;max-height:110px;resize:none;font:inherit;font-size:16px;padding:10px 12px;border:2px solid var(--line);border-radius:12px}
.mh-box:focus{outline:none;border-color:var(--green)}
.mh-send{flex:none;min-width:72px;min-height:46px;border:0;border-radius:12px;background:var(--burg);color:#fff;font:inherit;font-weight:800;cursor:pointer}
.mh-send:disabled{opacity:.6}
.mh-full{display:block;text-align:center;padding:9px;background:#fff;color:var(--green);font-weight:800;text-decoration:none;border-top:1px solid var(--line)}
@media (prefers-reduced-motion:reduce){.mh-bounce,.mh-pop,.mh-panel{animation:none}}

/* 📧 Emails page */
.em-row{display:flex;flex-direction:column;gap:6px;overflow-wrap:anywhere}
.em-addr-big{font-weight:800;font-size:18px;color:var(--green)}
.em-st{font-weight:700;font-size:15px;padding:6px 10px;border-radius:10px;align-self:flex-start}
.em-st.working{background:#EEF4F0;color:var(--green)}
.em-st.waiting{background:#F2F1EE;color:#444}
.em-st.error{background:#F6E9EB;color:var(--burg)}
.em-addr{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.em-addr input{flex:1 1 140px;min-width:0}
.em-at{font-weight:700;color:var(--muted);font-size:16px;overflow-wrap:anywhere}

/* Moshe Assistant: a little hand that waves hello (≈3 waves on load, again every ~12 s) */
.mh-hand{transform-box:fill-box;transform-origin:50% 92.31%;transform:rotate(0deg)}
.mh-wave-emoji{display:inline-block;transform-origin:70% 80%}
.mh-waving .mh-hand{animation:mh-wave 1.6s ease-in-out 1}
.mh-waving .mh-wave-emoji{animation:mh-wave 1.6s ease-in-out 1}
@keyframes mh-wave{0%{transform:rotate(0deg)}14%{transform:rotate(16deg)}30%{transform:rotate(-20deg)}46%{transform:rotate(16deg)}62%{transform:rotate(-20deg)}78%{transform:rotate(12deg)}100%{transform:rotate(0deg)}}
@media (prefers-reduced-motion:reduce){.mh-waving .mh-hand,.mh-waving .mh-wave-emoji{animation:none}}
.mh-private{margin:0;text-align:center;padding:8px;background:#fff;color:var(--muted,#6B6B6B);font-size:13px;border-top:1px solid var(--line)}
.fam-chats{margin-top:14px}.fam-chats h2{margin:0 0 4px}.fam-chat{border-top:1px solid var(--line,#D9D6CF);padding:10px 0}.fam-chat:first-of-type{border-top:0}
.fam-chat .fc-who{font-weight:800;color:var(--green,#1F4D3A)}.fam-chat .fc-msg{margin:4px 0;font-size:14px;overflow-wrap:anywhere}.fam-chat .fc-msg b{color:#6B6B6B;font-weight:600}

/* 🎤 record + 📎 attach (Messages composer and Moshe Assistant) */
.att-btn{flex:none;display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;border:0;background:var(--green2);color:var(--on-dark);cursor:pointer;position:relative;overflow:hidden;padding:0;-webkit-tap-highlight-color:transparent}
.att-btn svg{width:24px;height:24px}
.att-btn .att-input{position:absolute;inset:0;opacity:0;cursor:pointer;font-size:0}
.att-btn:focus-visible,.att-btn:focus-within{outline:3px solid #fff;outline-offset:2px}
.att-mic.on{background:var(--burg);animation:att-pulse 1.2s ease-in-out infinite}
@keyframes att-pulse{0%,100%{box-shadow:0 0 0 0 rgba(122,31,43,.55)}50%{box-shadow:0 0 0 7px rgba(122,31,43,0)}}
.rec-bar{display:flex;align-items:center;gap:8px;margin:0 0 8px;padding:6px 6px 6px 12px;border-radius:26px;background:#fff;color:var(--ink);border:2px solid var(--burg);font-weight:700}
.rec-bar[hidden]{display:none}
.rec-dot{width:12px;height:12px;border-radius:50%;background:var(--burg);flex:none;animation:att-blink 1s steps(2) infinite}
@keyframes att-blink{50%{opacity:.25}}
.rec-lab{font-size:15px}
.rec-clock{font-variant-numeric:tabular-nums;font-size:17px;color:var(--burg)}
.rec-lim{font-size:13px;color:var(--muted);font-weight:600;flex:1;min-width:0}
.rec-stop{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 14px;border:0;border-radius:21px;background:var(--burg);color:#fff;font:inherit;font-weight:800;cursor:pointer}
.rec-sq{width:12px;height:12px;border-radius:2px;background:#fff}
.rec-cancel{flex:none;width:42px;height:42px;border-radius:50%;border:2px solid var(--line);background:#fff;color:var(--ink);font-size:17px;cursor:pointer}
.att-chips{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:6px}
.att-chips[hidden]{display:none}
.att-chip{display:flex;align-items:center;gap:10px;padding:6px 6px 6px 8px;border-radius:12px;background:#fff;color:var(--ink);border:1px solid var(--line);min-width:0}
.att-th{width:48px;height:48px;border-radius:8px;object-fit:cover;flex:none;background:#eee}
.att-ico{flex:none;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;font-size:22px;border-radius:8px;background:#F1EEE6}
.att-txt{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.att-txt strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.att-txt small{font-size:13px;color:var(--muted)}
.att-chip.k-audio{flex-wrap:wrap}
.att-play{order:5;width:100%;height:40px;margin-top:2px}
.att-x{flex:none;width:44px;height:44px;border:0;border-radius:10px;background:#F1EEE6;color:var(--ink);font-size:18px;cursor:pointer}
/* what came with a message, inside the bubble */
.att-show{display:flex;flex-direction:column;gap:6px;margin:6px 0 2px;min-width:0}
.att-pics{display:grid;gap:4px;grid-template-columns:1fr}
.att-pics.n2{grid-template-columns:1fr 1fr}.att-pics.n3{grid-template-columns:1fr 1fr 1fr}
.att-pic{display:block;border-radius:12px;overflow:hidden;background:rgba(255,255,255,.15);line-height:0}
.att-pic img{width:100%;max-height:240px;min-height:70px;object-fit:cover;display:block}
.att-pics.n1 .att-pic img{max-width:260px}
.att-voice{display:flex;flex-direction:column;gap:4px;min-width:0}
.att-vlab{font-size:14px;font-weight:700}
.att-voice audio{width:240px;max-width:100%;height:40px}
.att-voice{background:#F7F3EA;border:1px solid #D9D6CF;border-radius:14px;padding:8px 10px;width:260px;max-width:100%;box-sizing:border-box}
.att-vrow{display:flex;align-items:center;gap:10px;min-width:0}
.att-vbtn{flex:0 0 auto;width:48px;height:48px;border-radius:50%;border:0;background:#1F4D3A;color:#F7F3EA;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.18);-webkit-tap-highlight-color:transparent;padding:0}
.att-vbtn svg{display:block}
.att-voice.on .att-vbtn{background:#7A1F2B}
.att-vbtn:disabled{background:#D9D6CF;color:#6B6B6B}
.att-vinfo{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px;color:#1F4D3A}
.att-vbar{position:relative;height:6px;border-radius:3px;background:#D9D6CF;overflow:hidden;cursor:pointer}
.att-vbar i{position:absolute;left:0;top:0;bottom:0;width:0;background:#1F4D3A;border-radius:3px}
.att-vtime{font-size:13px;color:#6B6B6B;font-variant-numeric:tabular-nums}
.att-voice audio.att-native{display:none}
.att-vnote{font-size:13px;color:#7A1F2B;line-height:1.3}
.att-vdl{align-self:flex-start;font-size:14px;font-weight:700;color:#7A1F2B;text-decoration:none;padding:2px 0}
.att-video{width:100%;max-width:260px;border-radius:12px}
.att-dl{display:flex;align-items:center;gap:10px;padding:6px 10px 6px 6px;border-radius:12px;background:#fff;color:var(--ink);text-decoration:none;min-width:0;max-width:280px}
.att-dl .att-txt strong{color:var(--green)}
.mh-tools{display:contents}
.mh-form{align-items:flex-end}
.mh-form .att-btn{width:42px;height:46px;border-radius:12px;background:#EEF4F0;color:var(--green)}
.mh-form .att-btn:focus-visible,.mh-form .att-btn:focus-within{outline:3px solid var(--burg)}
.mh-form .att-mic.on{background:var(--burg);color:#fff}
.mh-send{min-width:62px}
.mh-chips{list-style:none;margin:0;padding:6px 10px 0;background:#fff;border-top:1px solid var(--line);max-height:30vh;overflow-y:auto}
.mh-chips .att-chip{background:var(--cream)}
.mh-panel .rec-bar{margin:6px 10px 0}
.mh-b .att-pic img{max-height:170px}.mh-b .att-pics.n1 .att-pic img{max-width:200px}
.mh-b .att-voice{width:230px}.mh-b .att-voice audio{width:100%}
.mh-b .att-dl{max-width:220px}
.fc-msg .att-show{margin-left:0}
.fc-msg .att-pic img{max-height:120px}
@media (prefers-reduced-motion:reduce){.att-mic.on,.rec-dot{animation:none}}
.mh-chips{flex:none}.mh-chips .att-chip{padding:4px 4px 4px 6px}.mh-chips .att-th{width:40px;height:40px}.mh-chips .att-x{width:40px;height:40px}

/* Logins: what each person can see (Nov 8, 2026) */
.lg-see{border:1px solid var(--line);border-radius:14px;padding:10px 8px;margin:14px 0 6px;min-width:0;background:#FBF9F4}
.lg-see-title{font-weight:700;font-size:17px;padding:0 6px;color:var(--green)}
.lg-see-modes{display:grid;grid-template-columns:1fr;gap:8px}
.lg-see-mode,.lg-see-page{display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 12px;border:2px solid var(--line);border-radius:12px;background:#fff;font-size:17px;cursor:pointer;box-sizing:border-box;min-width:0}
.lg-see-mode:has(input:checked),.lg-see-page:has(input:checked){border-color:var(--green);background:#EEF4F0}
.lg-see-mode input,.lg-see-page input{width:24px;height:24px;margin:0;flex:none;accent-color:var(--green)}
.lg-see-grid{display:grid;grid-template-columns:1fr;gap:8px;margin-top:10px}
@media (min-width:340px){.lg-see-grid{grid-template-columns:1fr 1fr;gap:6px}.lg-see-page{font-size:15px;font-weight:600;padding:6px 8px;gap:6px}.lg-see-page input{width:22px;height:22px}}
.lg-see-grid[hidden]{display:none}
.lg-see-page span:last-child{flex:1;min-width:0}
.lg-see-ico{flex:none}
.lg-sees{font-size:14px;color:var(--green);font-weight:600;margin-top:2px}
.not-shared{margin-top:18px}
body[data-nohome] .home-split{display:block}

/* Mendy's Hub additions */
.owner-group{margin-top:18px}
.sample-note{background:#fff8e6;border:1px solid #ecd9a8;border-radius:12px;padding:12px 14px;font-size:15px;color:#5a4a1f;margin:16px 0 0}
.mh-static p{margin:0 0 10px}
.mh-static .btn{margin-top:4px}
.wa-btn{background:#1F4D3A;color:#fff}
.year-card{cursor:default}
