.profiles-page{--profile-surface:color-mix(in srgb,var(--green,#285e4c) 7%,var(--paper,#fff));display:grid;gap:1rem;max-width:72rem;margin-inline:auto;width:100%}.profile-sections{display:grid;gap:1rem}.profile-card{background:var(--profile-surface);border:1px solid var(--line,#d8e3da);border-radius:1.25rem;padding:clamp(1rem,3vw,1.75rem);display:grid;gap:1rem;min-width:0}.profile-card h2,.profile-card h3,.profile-card p,.profile-heading h1{margin:0}.profile-card h2{font-size:1.2rem}.profile-heading h1{font-size:clamp(1.7rem,4vw,2.75rem);overflow-wrap:anywhere}.profile-heading{display:grid;align-content:center;gap:.65rem}.profile-hero{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}.profile-photo{width:8rem;height:8rem;border-radius:50%;object-fit:cover;flex:none;border:2px solid var(--line,#cbdccd);background:#deebdf}.profile-photo-center{border-radius:1rem;width:10rem;height:8rem}.profile-initials{display:grid;place-items:center;font-size:2.5rem;font-weight:700;color:#28543e}.profile-photo-control{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;max-width:100%}.profile-photo-actions{display:grid;gap:.5rem;max-width:21rem}.profile-photo-actions input[type=file]{max-width:100%;font-size:.85rem}.profile-photo-actions .muted,.profile-status,.profile-count{font-size:.9rem}.profile-photo-actions button{justify-self:start}.profile-fields-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1rem}.profile-fields-grid>div{min-width:0}.profile-fields-grid>div>.field+.field{margin-top:.8rem}.profile-fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:1rem}.profile-fieldset:disabled{opacity:.72}.profile-detail{display:grid;gap:.35rem;align-content:start}.profile-detail h3{font-size:.9rem;color:var(--muted,#62766a)}.profile-copy{white-space:pre-wrap;overflow-wrap:anywhere}.profile-count{margin:.3rem 0 0;text-align:right;color:var(--muted,#62766a)}.profile-role-labels{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center}.profile-role-labels .badge{padding:.3rem .6rem}.profile-people-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1rem}.profile-person-card{border:1px solid var(--line,#d8e3da);background:var(--profile-surface);border-radius:1.25rem;padding:1.2rem;display:grid;gap:.8rem;align-content:start;overflow-wrap:anywhere}.profile-person-card .profile-photo{width:4.5rem;height:4.5rem;font-size:1.5rem}.profile-person-card h2{font-size:1.2rem;margin:0 0 .4rem}.profile-person-card button{align-self:end;min-height:2.75rem}.profile-team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:1rem}.profile-team-member{padding:.8rem;border:1px solid var(--line,#d8e3da);border-radius:.8rem}.profile-search{display:flex;align-items:end;gap:.8rem;flex-wrap:wrap}.profile-search .field{flex:1;min-width:min(16rem,100%)}.profiles-page textarea{resize:vertical;min-height:5rem}.profiles-page [hidden]{display:none!important}@media(max-width:520px){.profile-hero{align-items:flex-start;gap:1rem}.profile-heading{width:100%}.profile-photo-control{width:100%}.profile-photo-actions{flex:1;min-width:10rem}.profile-card{border-radius:1rem}.profile-search button{width:100%}}

.profile-public-preview{display:grid;gap:1rem;padding:1rem;border:1px solid var(--line);border-radius:1rem;background:var(--paper)}.profile-public-preview .profile-photo{width:5rem;height:5rem}.profile-public-consent{display:flex;align-items:flex-start;gap:.7rem}.profile-public-consent input{width:1.2rem;min-height:1.2rem;margin-top:.25rem;flex:none}.profile-share-link{display:grid;gap:.7rem;overflow-wrap:anywhere}

.profile-fields-grid>.field{margin:0;display:grid;align-content:start;gap:.45rem}.profile-fields-grid>.field>input{height:3rem;min-height:3rem;margin:0}.profile-fields-grid>.field>label{margin:0;line-height:1.5}

.profile-center-details,.profile-repeat-list,.profile-gallery-editor{display:grid;gap:1rem}.profile-entry{padding:1rem;border:1px solid var(--line);border-radius:1rem;display:grid;gap:.85rem;background:var(--paper)}details.profile-entry{display:block}details.profile-entry>summary{font-weight:600;cursor:pointer}details.profile-entry[open]>:not(summary){margin-top:1rem}.profile-gallery,.profile-gallery-editor{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1rem}.profile-gallery figure{margin:0;display:grid;gap:.5rem}.profile-gallery img{display:block;width:100%;height:13rem;object-fit:cover;border-radius:.8rem}.profile-gallery figcaption{font-size:.9rem;color:var(--muted)}.profile-review{display:grid;gap:.6rem;border-top:1px solid var(--line);padding-top:1rem}.profile-review img{max-width:100%;height:auto;border-radius:.6rem}.profile-entry textarea{width:100%}
