.profile-page{max-width:60rem;margin:0 auto;padding:clamp(1.25rem,4vw,3rem) clamp(1rem,3vw,2rem) 4rem;color:var(--ink)}
.profile-page h1{font-size:clamp(2rem,4.7vw,3.8rem);line-height:1.04;margin:0 0 1.25rem}
.profile-page h2{font-size:clamp(1.35rem,2.4vw,1.8rem);line-height:1.2;margin:0}
.profile-page p{line-height:1.5}
.profile-page [hidden]{display:none}
.profile-page #message:empty{display:none}
.profile-page #message[data-error=true]{padding:.65rem .85rem;color:#782d27;background:#fae8dd;border-radius:.55rem}
.profile-intro{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.profile-intro h2{overflow-wrap:anywhere}
.entry-card,.profile-section{background:#fffcf4;border:1px solid #d6dac8;border-radius:1rem;padding:clamp(1rem,3vw,1.7rem)}
.entry-card{max-width:29rem}
.entry-card form{display:grid;gap:.45rem}
.entry-card input{width:100%;padding:.68rem .8rem;border:1px solid #aeb9a7;border-radius:.45rem;font:inherit;color:var(--ink);background:#fff;margin-bottom:.6rem;box-sizing:border-box}
.entry-card label{font-weight:600}
.entry-card button[type=submit]{margin-top:.35rem}
.text-button,.guest-link{color:var(--forest);font:inherit;text-decoration:underline;text-underline-offset:.2rem}
.text-button{border:0;background:transparent;padding:.65rem 0 0;cursor:pointer}
.guest-link{display:inline-block;margin-top:1rem}
.profile-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin:1.2rem 0}
.profile-kpis>div{background:#e8eddd;border-radius:.8rem;padding:.85rem 1rem}
.profile-kpis strong{line-height:1.1;display:block;font-size:clamp(1.4rem,3vw,2rem)}
.profile-kpis span{display:block;color:#465b50;font-size:.95rem;margin-top:.35rem}
.profile-section{margin:0 0 1rem}
.profile-row{display:flex;align-items:center;justify-content:space-between;gap:.9rem;min-height:3rem;padding:.35rem 0;border-bottom:1px solid #e1e4d7}
.profile-row:last-child{border-bottom:0}
.profile-row>div{min-width:0}
.profile-row strong{display:block;overflow-wrap:anywhere}
.profile-row small{display:block;color:#526751;font-size:.86rem}
.profile-row>span{white-space:nowrap;font-weight:600;color:var(--forest)}
.profile-row .subject{padding-left:.6rem;border-left:.3rem solid var(--ink)}
.profile-page a.button,.wordmark,.topbar a.nav-button{text-decoration:none}
@media(max-width:500px){.profile-kpis{gap:.35rem}.profile-kpis>div{padding:.62rem}.profile-kpis span{font-size:.84rem}.profile-row{align-items:flex-start}.profile-page h1{margin-top:.5rem}}
