/* AmbonManise v33 — Public Family Network */
.fam33-directory,.fam33-public,.fam33-start{background:linear-gradient(180deg,#f8fbfc,#eef5f7)}
.fam33-directory-head,.fam33-public-top{display:flex;justify-content:space-between;gap:28px;align-items:flex-end;margin-bottom:20px}.fam33-directory-head h2,.fam33-public-top h2,.fam33-start h2{font-family:'Playfair Display',serif;color:#0b3b4f;font-size:34px;line-height:1.12;margin:4px 0 8px}.fam33-directory-head p,.fam33-public-top p{max-width:780px;color:#667d87;line-height:1.65;margin:0}.fam33-directory-actions{display:grid;gap:10px;min-width:min(480px,100%)}.fam33-directory-actions form{display:flex;background:#fff;border:1px solid #dce8eb;border-radius:16px;padding:5px}.fam33-directory-actions input{flex:1;border:0;outline:0;padding:0 12px;font:inherit}.fam33-directory-actions button{border:0;background:#0b3b4f;color:#fff;border-radius:12px;padding:10px 16px;font-weight:800}.fam33-directory-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0 22px}.fam33-directory-stats>div{background:#fff;border:1px solid #dfeaed;border-radius:18px;padding:18px;box-shadow:0 10px 25px rgba(11,59,79,.05)}.fam33-directory-stats strong{display:block;font-size:30px;color:#0b3b4f}.fam33-directory-stats span{font-size:12px;color:#758991}.fam33-family-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.fam33-family-card{background:#fff;border:1px solid #dce7ea;border-radius:22px;overflow:hidden;box-shadow:0 16px 36px rgba(11,59,79,.07)}.fam33-family-card .cover{height:210px;background-size:cover;background-position:center;display:flex;align-items:flex-end;padding:14px;text-decoration:none;position:relative}.fam33-family-card .cover:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(7,40,53,.62))}.fam33-family-card .cover span{position:relative;z-index:1;background:#e2622f;color:#fff;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900}.fam33-family-card .body{padding:17px}.fam33-family-card h3{margin:0 0 7px;color:#0b3b4f;font-size:20px}.fam33-family-card p{color:#687e87;line-height:1.55;font-size:12px;min-height:58px}.fam33-family-card .meta{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.fam33-family-card .meta span{font-size:10px;background:#edf5f6;color:#57727b;padding:5px 8px;border-radius:999px}.fam33-family-card .body>a{font-weight:900;color:#e2622f;text-decoration:none}.fam33-empty-directory{padding:35px;text-align:center}
.fam33-start-card{max-width:1050px;margin:auto;padding:28px}.fam33-start-card .copy{max-width:760px}.fam33-start-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.fam33-start-form label,.fam33-correction form label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#35515c}.fam33-start-form input,.fam33-start-form select,.fam33-start-form textarea,.fam33-correction input,.fam33-correction select,.fam33-correction textarea{width:100%;border:1px solid #d7e5e8;border-radius:13px;padding:11px 12px;background:#fff;font:inherit;color:#173842}.fam33-start-form .wide,.fam33-correction .wide{grid-column:1/-1}.fam33-alert,.fam33-success{margin-top:14px;padding:12px 14px;border-radius:12px}.fam33-alert{background:#fff0eb;color:#9f4629}.fam33-success{background:#e9f7ef;color:#287154}
.fam33-public-top{align-items:flex-start}.fam33-public-buttons{display:flex;gap:8px;flex-wrap:wrap}.fam33-public-badges{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.fam33-public-badges span{background:#fff;border:1px solid #dce8eb;border-radius:999px;padding:6px 9px;font-size:10px;color:#5f7781;font-weight:800}.fam33-public-graph-card{overflow:hidden}.fam33-controlbar{position:sticky;top:0;z-index:6}.fam33-graph{height:760px}.fam33-correction{padding:22px;margin-top:20px;display:grid;grid-template-columns:minmax(250px,.7fr) minmax(420px,1.3fr);gap:24px}.fam33-correction h3{font-size:24px;margin:3px 0 7px;color:#0b3b4f}.fam33-correction p{color:#6b8089;line-height:1.6}.fam33-correction form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fam33-correction .fam31-btn{justify-self:start}.fam33-success{grid-column:1/-1}
/* more breathing room for large public graphs */
.fam33-graph .fam31-node{width:190px!important;min-height:118px!important}.fam33-graph .fam31-node img,.fam33-graph .fam31-node .avatar{width:58px!important;height:58px!important}.fam33-graph .fam31-node b{font-size:13px!important}.fam33-graph .fam313-edge{stroke-width:2.8}.fam33-graph .fam313-edge.spouse{stroke-width:4}.fam33-graph:fullscreen{height:100vh!important;background:#eef7f8}.fam33-graph:fullscreen .fam313-zoom{position:fixed;right:24px;top:20px;z-index:50;background:rgba(255,255,255,.94);padding:8px;border-radius:14px;box-shadow:0 14px 34px rgba(11,59,79,.18)}
@media(max-width:1100px){.fam33-family-grid{grid-template-columns:repeat(2,1fr)}.fam33-directory-head,.fam33-public-top{align-items:flex-start;flex-direction:column}.fam33-directory-actions{width:100%}.fam33-correction{grid-template-columns:1fr}.fam33-graph{height:680px}}
@media(max-width:700px){.fam33-directory-stats{grid-template-columns:1fr 1fr}.fam33-family-grid{grid-template-columns:1fr}.fam33-start-form,.fam33-correction form{grid-template-columns:1fr}.fam33-start-form .wide,.fam33-correction .wide{grid-column:auto}.fam33-directory-head h2,.fam33-public-top h2{font-size:28px}.fam33-graph{height:620px}.fam33-public-buttons{width:100%}.fam33-public-buttons>*{flex:1;text-align:center}.fam33-correction{padding:16px}}
.fam33-family-visibility{padding:20px;margin:16px 0;display:grid;grid-template-columns:minmax(260px,.8fr) minmax(420px,1.2fr);gap:20px;background:linear-gradient(135deg,#fff,#f4fbfa)}.fam33-family-visibility h3{margin:3px 0 6px;color:#0b3b4f}.fam33-family-visibility p{margin:0;color:#6a7f88;line-height:1.6}.fam33-family-visibility form{display:grid;grid-template-columns:1fr 1fr;gap:9px}.fam33-family-visibility select,.fam33-family-visibility input[type=text],.fam33-family-visibility input:not([type]){height:42px;border:1px solid #d8e5e8;border-radius:12px;padding:0 11px;background:#fff}.fam33-family-visibility label{display:flex;align-items:center;gap:7px;font-size:11px;color:#526d77}.fam33-family-visibility .fam31-btn{justify-self:start}@media(max-width:900px){.fam33-family-visibility{grid-template-columns:1fr}.fam33-family-visibility form{grid-template-columns:1fr}}
.fam33-family-switch{margin-top:10px}.fam33-family-switch select{width:100%;height:38px;border:1px solid #dce8eb;border-radius:11px;background:#f7fbfb;color:#38545f;padding:0 9px;font-size:11px;font-weight:800}
.fam33-family-switch{margin-top:10px}.fam33-family-switch select{width:100%;height:38px;border:1px solid #dce8eb;border-radius:11px;background:#f7fbfb;color:#38545f;padding:0 9px;font-size:11px;font-weight:800}
.fam33-feedback-dashboard{padding:20px;margin:16px 0}.fam33-feedback-dashboard h3{margin:3px 0 12px;color:#0b3b4f}.fam33-feedback-list{display:grid;gap:8px}.fam33-feedback-list article{display:flex;align-items:flex-start;gap:12px;padding:12px;background:#f7fafb;border-radius:13px}.fam33-feedback-list article>div{flex:1}.fam33-feedback-list b,.fam33-feedback-list small{display:block}.fam33-feedback-list small{font-size:10px;color:#80949c;margin-top:3px}.fam33-feedback-list p{margin:6px 0 0;color:#536d77;font-size:11px}.fam33-feedback-list form{display:flex;gap:5px}.fam33-feedback-list select,.fam33-feedback-list button{height:34px;border:1px solid #d8e5e8;border-radius:9px;background:#fff;padding:0 8px}.fam33-feedback-list button{background:#0b3b4f;color:#fff;font-weight:800;border:0}@media(max-width:700px){.fam33-feedback-list article{flex-direction:column}.fam33-feedback-list form{width:100%}.fam33-feedback-list select{flex:1}}
.fam313-chip.external{background:#edf0ff;color:#4e5fa4}
