/* Keep faces and complete portraits visible in small archive frames. */
.atw-website .nw-avatar-wrap img,
.atw-website .nw-node-photo img,
.atw-website .nw-inspector-portrait img,
.atw-website .nw-connection-portrait img{object-fit:contain;object-position:center;background:#211b25}
.atw-website .nw-profile-image img{display:block;max-width:100%;height:auto;object-fit:contain}
.atw-website .atw-single figure img{max-width:100%;height:auto;object-fit:contain}
/* v2.6 thematic constellation and contributor entry points */
.atw-chart-contribute{display:flex;justify-content:flex-end;gap:12px;margin:16px 0 20px;flex-wrap:wrap}
.atw-inline-contribute{font-size:.93rem;text-underline-offset:4px;color:#d6b8db}
.atw-research-context{padding:12px 16px;border-left:3px solid #b895c9;background:rgba(146,105,156,.11);font-size:1rem}
.nw-cosmos .nw-node{transition:opacity .18s ease, filter .18s ease}
.nw-cosmos .nw-node.nw-dim{opacity:.1;filter:grayscale(1)}
.nw-cosmos .nw-lines path{transition:opacity .18s ease}
.nw-object p,.nw-person-card p{line-height:1.55}
@media(max-width:700px){.atw-chart-contribute{justify-content:flex-start}.atw-chart-contribute .btn{font-size:.95rem}}

/* Size images to the frame itself before fitting the whole portrait. */
.atw-website .nw-node-photo,
.atw-website .nw-inspector-portrait,
.atw-website .nw-connection-portrait{position:relative}
.atw-website .nw-node-photo img,
.atw-website .nw-inspector-portrait img,
.atw-website .nw-connection-portrait img{position:absolute;inset:0;width:100%;height:100%;max-width:none;min-width:0;min-height:0;object-fit:contain;object-position:center}

.atw-website .nw-image-review-note{margin:8px 0 10px;color:#d4bbd7;font-size:.78rem;line-height:1.35}

.atw-website .nw-biography-link{display:inline-block;margin:.25rem .6rem .35rem 0;color:#e6c9de;text-decoration:underline;text-underline-offset:3px}
.atw-website #nw-selected-name a{color:inherit;text-decoration:underline;text-decoration-color:#b895c9;text-underline-offset:5px}
.atw-website .nw-second-degree>span{display:inline-block;margin-right:.75rem}
