

/* ==== FAMILY HUB tile + panel ============================================ */
#fhMount.fh-mount{ margin-top:16px; font-family:'Nunito',system-ui,sans-serif; }
#fhMount .fh-tile{
  overflow:hidden; border-radius:22px; border:1px solid #E6E9E4; background:#fff;
  box-shadow:0 4px 14px rgba(36,52,71,.05);
  display:grid; grid-template-columns:minmax(0,320px) minmax(0,1fr);
}
#fhMount .fh-photo{ position:relative; background:#EEF3ED; min-height:220px; }
#fhMount .fh-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
#fhMount .fh-ph{
  height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:24px 20px; gap:4px;
}
#fhMount .fh-ph-ic{
  width:46px; height:46px; border-radius:50%; background:#fff; display:flex;
  align-items:center; justify-content:center; margin-bottom:8px; font-size:.8rem; letter-spacing:-2px;
  color:#617467 !important; -webkit-text-fill-color:#617467 !important;
}
#fhMount .fh-ph-t{
  margin:0; font-size:.9rem; font-weight:700;
  color:#24322A !important; -webkit-text-fill-color:#24322A !important;
}
#fhMount .fh-ph-s{
  margin:0; max-width:220px; font-size:.78rem; line-height:1.5;
  color:#5B6A61 !important; -webkit-text-fill-color:#5B6A61 !important;
}
#fhMount .fh-up{
  position:absolute; right:12px; bottom:12px; display:inline-flex; align-items:center; gap:7px;
  cursor:pointer; border-radius:999px; padding:10px 14px; min-height:44px;
  background:rgba(255,255,255,.96); border:1px solid #DCE3DA;
  font-size:.78rem; font-weight:800;
  color:#34463A !important; -webkit-text-fill-color:#34463A !important;
}
#fhMount .fh-up:hover{ background:#fff; }
#fhMount .fh-up input{ position:absolute; inset:0; opacity:0; width:100%; height:100%; cursor:pointer; }
#fhMount .fh-up:focus-within{ outline:3px solid #CF9E3F; outline-offset:2px; }
#fhMount .fh-body{ padding:20px 22px; display:flex; flex-direction:column; }
#fhMount .fh-eb{
  margin:0 0 4px; font-size:.68rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase;
  color:#4E6640 !important; -webkit-text-fill-color:#4E6640 !important;
}
#fhMount .fh-namerow{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
#fhMount .fh-n{
  margin:0; font-family:'Playfair Display',Georgia,serif; font-size:1.32rem; font-weight:700;
  color:#243447 !important; -webkit-text-fill-color:#243447 !important;
}
#fhMount .fh-rename{
  cursor:pointer; font:inherit; font-size:.74rem; font-weight:800; border-radius:999px;
  padding:7px 12px; min-height:36px;
  background:#F4F6F1 !important; border:1px solid #DCE5D6 !important;
  color:#41533C !important; -webkit-text-fill-color:#41533C !important;
}
#fhMount .fh-d{
  margin:8px 0 12px; font-size:.88rem; line-height:1.55; max-width:56ch;
  color:#5A6472 !important; -webkit-text-fill-color:#5A6472 !important;
}
#fhMount .fh-chips{ display:flex; flex-wrap:wrap; gap:7px; margin-bottom:12px; }
#fhMount .fh-chip{
  border-radius:999px; padding:6px 12px; font-size:.76rem; font-weight:700; background:#F4F6F3;
  color:#4A5A50 !important; -webkit-text-fill-color:#4A5A50 !important;
}
#fhMount .fh-guests{
  margin:0 0 12px; font-size:.78rem; font-weight:800;
  color:#4E6640 !important; -webkit-text-fill-color:#4E6640 !important;
}
#fhMount .fh-cta{
  display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%;
  cursor:pointer; font:inherit; font-size:.88rem; font-weight:800;
  border-radius:16px; padding:14px 18px; min-height:50px; margin-top:auto;
  background:#243D32 !important; border:1px solid #243D32 !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
}
#fhMount .fh-cta:hover{ background:#1D3329 !important; }
#fhMount .fh-wall{
  display:flex; align-items:center; justify-content:center; gap:8px; width:100%;
  cursor:pointer; font:inherit; font-size:.84rem; font-weight:700;
  border-radius:16px; padding:12px 18px; min-height:46px; margin-top:10px;
  background:#fff !important; border:1px solid #E0E5E1 !important;
  color:#4A5A50 !important; -webkit-text-fill-color:#4A5A50 !important;
}
#fhMount .fh-wall:hover{ background:#F7F9F7 !important; }
#fhMount .fh-wall.is-added{
  background:#F3F8F4 !important; border-color:#D8E4DA !important;
  color:#4A5A50 !important; -webkit-text-fill-color:#4A5A50 !important; cursor:default;
}
#fhMount .fh-cta:focus-visible, #fhMount .fh-wall:focus-visible, #fhMount .fh-rename:focus-visible,
#fhMount .fh-invite:focus-visible, #fhMount .fh-mini:focus-visible, #fhMount .mrx-back:focus-visible{
  outline:3px solid #CF9E3F; outline-offset:2px;
}
/* panel */
#fhMount .fh-people{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:16px; }
#fhMount .fh-col{ background:#fff; border:1px solid #E8E4DC; border-radius:18px; padding:16px 18px; }
#fhMount .fh-ch{
  margin:0 0 10px; font-size:.72rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  color:#4E5A49 !important; -webkit-text-fill-color:#4E5A49 !important;
}
#fhMount .fh-list{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
#fhMount .fh-p{ display:flex; align-items:center; gap:10px; }
#fhMount .fh-p.is-out{ opacity:.55; }
#fhMount .fh-av{
  flex:none; width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:#EEF4EC; font-size:.76rem; font-weight:800;
  color:#41533C !important; -webkit-text-fill-color:#41533C !important;
}
#fhMount .fh-av.is-guest{ background:#FDE9DC; border:1px dashed #E7B48C;
  color:#7A4A28 !important; -webkit-text-fill-color:#7A4A28 !important; }
#fhMount .fh-pb{ flex:1; display:flex; flex-direction:column; gap:1px; min-width:0; }
#fhMount .fh-pn{
  font-size:.88rem; font-weight:700;
  color:#243447 !important; -webkit-text-fill-color:#243447 !important;
}
#fhMount .fh-badge{
  font-size:.62rem; font-weight:800; border-radius:999px; padding:2px 8px; background:#FDE9DC;
  color:#7A4A28 !important; -webkit-text-fill-color:#7A4A28 !important;
}
#fhMount .fh-pm{ font-size:.76rem; color:#5A6472 !important; -webkit-text-fill-color:#5A6472 !important; }
#fhMount .fh-mini{
  flex:none; cursor:pointer; font:inherit; font-size:.72rem; font-weight:800; border-radius:999px;
  padding:8px 12px; min-height:36px;
  background:#fff !important; border:1px solid #E4DFD2 !important;
  color:#3F4753 !important; -webkit-text-fill-color:#3F4753 !important;
}
#fhMount .fh-invite{
  width:100%; margin-top:12px; cursor:pointer; font:inherit; font-size:.84rem; font-weight:800;
  border-radius:999px; padding:11px 16px; min-height:44px;
  background:#EEF4EC !important; border:1px solid #D3E2CE !important;
  color:#41533C !important; -webkit-text-fill-color:#41533C !important;
}
#fhMount .fh-none, #fhMount .fh-note{
  margin:0; padding:14px; background:#FBFAF8; border:1px dashed #E4DFD2; border-radius:12px;
  font-size:.84rem; line-height:1.55;
  color:#5A6472 !important; -webkit-text-fill-color:#5A6472 !important;
}
#fhMount .fh-note{ margin-top:16px; border-style:solid; background:#F4F6F1; border-color:#E2E8DD; }
/* sheet */
#fhSheet.fh-bg{
  position:fixed; inset:0; z-index:10005; background:rgba(30,36,30,.42);
  display:flex; align-items:center; justify-content:center; padding:20px;
  font-family:'Nunito',system-ui,sans-serif;
}
#fhSheet .fh-box{
  position:relative; width:min(580px,100%); max-height:88vh; overflow:auto;
  background:#FFFDF9; border:1px solid #E7E2D6; border-radius:24px; padding:26px 24px 20px;
  box-shadow:0 26px 64px rgba(30,36,30,.24);
}
#fhSheet .fh-x{
  position:absolute; top:14px; right:14px; width:38px; height:38px; border-radius:50%;
  border:1px solid #E7E2D6; background:#fff; cursor:pointer;
  color:#3D4A3A !important; -webkit-text-fill-color:#3D4A3A !important;
}
#fhSheet .fh-bt{
  margin:0 40px 6px 0; font-family:'Playfair Display',Georgia,serif; font-size:1.28rem; font-weight:700;
  color:#243447 !important; -webkit-text-fill-color:#243447 !important;
}
#fhSheet .fh-bl{ margin:0 0 16px; font-size:.88rem; line-height:1.55;
  color:#5A6472 !important; -webkit-text-fill-color:#5A6472 !important; }
#fhSheet .fh-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
#fhSheet .fh-f.is-wide{ grid-column:1/-1; }
#fhSheet .fh-l{
  display:block; margin-bottom:6px; font-size:.72rem; font-weight:800;
  letter-spacing:.08em; text-transform:uppercase;
  color:#4E5A49 !important; -webkit-text-fill-color:#4E5A49 !important;
}
#fhSheet .fh-req{ text-transform:none; letter-spacing:0; font-size:.66rem;
  color:#94465A !important; -webkit-text-fill-color:#94465A !important; }
#fhSheet .fh-i{
  width:100%; box-sizing:border-box; min-height:46px; border:1px solid #E4DFD2; border-radius:14px;
  padding:11px 14px; font:inherit; font-size:.9rem; background:#fff;
  color:#243447 !important; -webkit-text-fill-color:#243447 !important;
}
#fhSheet .fh-i:focus-visible, #fhSheet .fh-fchip:focus-visible{ outline:3px solid #CF9E3F; outline-offset:2px; }
#fhSheet .fh-hint{ margin:6px 0 0; font-size:.76rem;
  color:#6B7280 !important; -webkit-text-fill-color:#6B7280 !important; }
#fhSheet .fh-fchips{ display:flex; flex-wrap:wrap; gap:8px; }
#fhSheet .fh-fchip{
  cursor:pointer; font:inherit; font-size:.78rem; font-weight:700; border-radius:999px;
  padding:9px 13px; min-height:40px; background:#fff; border:1px solid #E4DFD2;
  color:#3F4753 !important; -webkit-text-fill-color:#3F4753 !important;
}
#fhSheet .fh-fchip.on{ background:#4E6640; border-color:#4E6640;
  color:#fff !important; -webkit-text-fill-color:#fff !important; }
#fhSheet .fh-bnote{
  margin:16px 0 0; padding:12px 14px; background:#F4F6F1; border:1px solid #E2E8DD; border-radius:14px;
  font-size:.79rem; line-height:1.55;
  color:#4A5442 !important; -webkit-text-fill-color:#4A5442 !important;
}
#fhSheet .fh-foot{ display:flex; justify-content:flex-end; gap:10px; flex-wrap:wrap;
  margin-top:18px; padding-top:14px; border-top:1px solid #EFEAE0; }
#fhSheet .fh-btn{
  cursor:pointer; font:inherit; font-size:.86rem; font-weight:800; border-radius:999px;
  padding:12px 22px; min-height:46px;
  background:#fff !important; border:1px solid #DDD7C9 !important;
  color:#3D4A3A !important; -webkit-text-fill-color:#3D4A3A !important;
}
#fhSheet .fh-btn.is-primary{ background:#4E6640 !important; border-color:#4E6640 !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important; }
.fh-toast{
  position:fixed; left:50%; bottom:26px; transform:translateX(-50%) translateY(12px); z-index:10006;
  background:#243447; color:#fff !important; -webkit-text-fill-color:#fff !important;
  padding:12px 20px; border-radius:999px; font-size:.85rem; font-weight:700;
  font-family:'Nunito',system-ui,sans-serif; opacity:0; pointer-events:none;
  transition:opacity .2s, transform .2s;
}
.fh-toast.on{ opacity:1; transform:translateX(-50%) translateY(0); }
@media (max-width:820px){
  #fhMount .fh-tile{ grid-template-columns:minmax(0,1fr); }
  #fhMount .fh-photo{ min-height:190px; }
  #fhMount .fh-people{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width:640px){
  #fhSheet .fh-grid{ grid-template-columns:minmax(0,1fr); }
  #fhSheet.fh-bg{ padding:0; align-items:flex-end; }
  #fhSheet .fh-box{ width:100%; max-height:93vh; border-radius:24px 24px 0 0; }
}

