.community-widget{position:fixed;right:24px;bottom:28px;z-index:35;width:260px}.community-widget[hidden]{display:none}.community-card{display:flex;align-items:center;gap:14px;padding:21px 30px 21px 18px;border:1px solid #bcebd5;border-radius:20px;background:#f0fbf6;box-shadow:0 8px 28px #163f2c0a;color:#174c3d;text-decoration:none;transition:transform .2s,box-shadow .2s}.community-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #163f2c16}.community-card strong{display:block;font-size:17px;line-height:1.6}.community-card small{display:block;font-size:12px;color:#42876d;white-space:nowrap}.community-icon{display:grid;place-items:center;background:#0cb86a;color:white;width:48px;height:48px;border-radius:16px;flex-shrink:0}.community-icon svg{width:34px;height:34px}.community-dismiss{position:absolute;right:9px;top:5px;background:none;border:0;color:#78a998;font-size:24px;cursor:pointer;padding:4px}.community-dialog{padding:0;width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #e5ece9;border-radius:22px;color:#1e3540;box-shadow:0 24px 90px #0f2d3e33}.community-dialog::backdrop{background:#102c3e75;backdrop-filter:blur(5px)}.community-modal-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0ef;padding:23px 28px;gap:16px}.community-modal-head h2{margin:5px 0 0;font-size:23px;color:#203d42}.community-eyebrow{font-size:11px;color:#7c9495;letter-spacing:.06em}.community-modal-close{border:0;background:#f3f6f5;border-radius:50%;width:32px;height:32px;font-size:24px;color:#7a8c91;cursor:pointer;flex-shrink:0}.community-modal-body{text-align:center;padding:20px 28px 26px}.community-modal-body>p{font-size:13px;color:#74858c;margin:0 0 18px}.community-qr{max-width:310px;margin:0 auto 20px;padding:12px;background:#fff;border:1px solid #edf1ef;border-radius:18px;box-shadow:0 8px 25px #152c3710}.community-qr img{display:block;width:auto;max-width:100%;height:auto;max-height:43dvh;object-fit:contain;margin:0 auto}.community-modal-body>strong{font-size:15px;font-weight:600}.community-modal-body .community-save{font-size:12px;color:#8b9b9f;line-height:1.8;margin:10px 0 20px}.community-topics{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.community-topics span{border-radius:20px;background:#eff9f4;color:#48896e;padding:6px 13px;font-size:12px}.community-topics span:first-child{background:#eff5fc;color:#6389ae}.community-topics span:last-child{background:#f6f2fc;color:#9678b1}.community-standalone{max-width:520px;margin:30px auto 60px;background:#fff;border:1px solid #e5ece9;border-radius:22px;overflow:hidden}.community-standalone .community-modal-close{display:none}.community-pending{padding:25px 10px}.community-pending>span{font-size:40px;color:#5ea489}.community-pending p{font-size:14px;color:#7d9292}.community-admin-preview{max-width:100%;height:auto}.family-page-consult .community-widget{bottom:100px;width:auto}.family-page-consult .community-card{padding:12px}.family-page-consult .community-card>span:last-child{display:none}.family-page-consult .community-dismiss{top:-12px;right:-8px;background:#fff;border-radius:50%;font-size:18px}.family-page-consult .community-icon{width:36px;height:36px;border-radius:12px}
@media(max-width:700px){.community-widget{right:12px;bottom:20px;width:auto}.community-card{padding:10px 18px 10px 10px;border-radius:16px;gap:9px}.community-card strong{font-size:13px}.community-card small{display:none}.community-icon{width:30px;height:30px;border-radius:10px}.community-icon svg{width:24px;height:24px}.community-dismiss{font-size:18px;top:-12px;right:-5px;background:#fff;border-radius:50%;line-height:1}.community-modal-head{padding:18px 20px}.community-modal-head h2{font-size:20px}.community-modal-body{padding:18px 20px}.community-qr{max-width:280px}.family-page-consult .community-widget{bottom:110px}.community-eyebrow{font-size:10px}}


/* Compact corner invitation; leaves the original website layout untouched. */
@media(min-width:1100px){
.community-widget{right:10px;bottom:14px;top:auto;width:128px}
.community-card{padding:15px 8px 11px;gap:6px;align-items:flex-start;border-radius:13px}
.community-card:hover{transform:none;box-shadow:0 8px 24px #163f2c12}
.community-card .community-icon{width:18px;height:18px;border-radius:6px;margin-top:2px}
.community-card .community-icon svg{width:15px;height:15px}
.community-card strong{font-size:10px;line-height:1.8;white-space:nowrap}
.community-card small{font-size:8px;white-space:nowrap;line-height:1.8;margin-top:2px}
.community-dismiss{right:2px;top:1px;font-size:13px;line-height:1;padding:2px}
.family-page-consult .community-widget{right:18px;bottom:24px;top:auto;width:auto}
.family-page-consult .community-card{padding:10px}
.family-page-consult .community-card>span:last-child{display:none}
.family-page-consult .community-icon{width:32px;height:32px}
}
@media(min-width:701px) and (max-width:1099px){
.community-widget{width:148px;right:12px;bottom:20px}
.community-card{padding:14px;gap:0}
.community-card .community-icon{display:none}
.community-card strong{font-size:13px}.community-card small{font-size:10px;white-space:normal;line-height:1.7}
}

/* Keep instructions and topic labels together with the QR, outside its pixels. */
.community-modal-body>.community-instruction{font-size:14px;color:#385e54;font-weight:500;line-height:1.8;max-width:360px;margin:0 auto 16px}
.community-qr .community-topics{margin:12px 0 4px}
.community-modal-body .community-save{margin-bottom:0}
