.trc-registry{max-width:860px;margin:1.5rem auto;padding:clamp(1rem,3vw,2rem);border:1px solid #d9e1e2;border-radius:16px;background:#fff;color:#152e33;line-height:1.52;box-shadow:0 2px 18px rgba(20,50,50,.06);font-family:inherit}
.trc-registry h2{font-size:clamp(1.35rem,3vw,2rem);line-height:1.22;margin-top:0}
.trc-registry h3{font-size:1.15rem;margin:.7rem 0}
.trc-registry form>label{display:block;font-weight:650;margin:1.1rem 0}
.trc-registry input:not([type=checkbox]),.trc-registry select,.trc-registry textarea{display:block;width:100%;box-sizing:border-box;padding:.72rem .85rem;border:1px solid #9baeb0;border-radius:8px;background:#fff;color:#17313a;font-size:1rem;margin-top:.3rem}
.trc-registry .trc-checkbox{display:flex;align-items:flex-start;gap:.7rem;margin:1rem 0;font-size:.95rem;font-weight:500}
.trc-registry input[type=checkbox]{width:20px;height:20px;min-width:20px;margin:.18rem 0;accent-color:#27574d}
.trc-registry button{background:#27574d;color:white;border:0;border-radius:8px;padding:.84rem 1.1rem;font:600 1rem inherit;cursor:pointer}
.trc-registry button:focus-visible,.trc-registry input:focus-visible,.trc-registry summary:focus-visible{outline:3px solid #c4933b;outline-offset:2px}
.trc-consents{border-top:2px solid #e6e9e8;margin:1.6rem 0;padding-top:.7rem}
.trc-agreement-wrap{background:#f5f8f7;border:1px solid #d5dedb;border-radius:10px;margin:1rem 0;padding:.6rem}
.trc-agreement-wrap summary{font-weight:700;cursor:pointer;padding:.45rem}
.trc-agreement{max-height:350px;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid #d6deda;padding:.8rem;background:white;font-size:.89rem;line-height:1.57;color:#263d43;white-space:normal}
.trc-error{border-left:4px solid #a3262e;background:#fff1f0;padding:1rem;color:#6b101a;margin:1rem 0}
.trc-success{border-left:4px solid #32764d;background:#e9f5ed;padding:1rem;color:#17472b;margin:1rem 0}
@media(max-width:600px){.trc-registry{margin:.7rem auto;padding:1rem;border-radius:10px}.trc-agreement{max-height:300px}}

/* Shared private French genealogy — responsive family/Truba/Yakuba live views */
.trc-tree .trc-family-history{border:1px solid #d5dce2;background:#f8f9f7;border-radius:12px;padding:16px;margin:14px 0}
.trc-tree .trc-ancestry-path{padding:12px;border-left:4px solid #a87b41;background:#fff;border-radius:5px;line-height:1.6}
.trc-tree .trc-branches{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}
.trc-tree .trc-branch-pill{padding:6px 10px;border-radius:20px;border:1px solid #d5cab7;background:#fff;font-size:.82em}
.trc-tree .trc-household-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.trc-tree .trc-household-card{border:1px solid #ddd;border-radius:9px;padding:12px;background:white;display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}
.trc-tree .trc-household-card span{font-size:.91em}.trc-tree .trc-household-card small{color:#555}
.trc-tree .trc-pending-note{padding:14px;background:#f5f2ed;border-left:4px solid #a87b41}
@media(max-width:640px){.trc-tree .trc-household-list{grid-template-columns:1fr}}

.trc-tree-panel{margin:14px 0;border:1px solid #d4d9de;border-radius:12px;padding:10px}.trc-tree-panel summary{cursor:pointer;font-weight:700;padding:10px}.trc-tree-panel .trc-registry{box-shadow:none}
