/* Connected contact actions share the card's material; no raised pills. */
@media screen{
 :root:root .shared-contact-card .contact-card-actions{
  gap:2px;align-items:stretch;padding-block:20px;
 }
 :root:root .shared-contact-card .contact-card-actions>.button{
  display:flex;align-items:center;justify-content:center;gap:8px;
  min-height:52px;height:52px;box-sizing:border-box;
  border:0;border-radius:8px;box-shadow:none;font-size:14px;font-weight:550;
  background:color-mix(in srgb,var(--green) 14%,var(--contact-card-surface));
  color:var(--green);transform:none;translate:none;filter:none;
  transition:background-color 120ms var(--motion-ease-effects),color 120ms var(--motion-ease-effects),border-radius 240ms var(--motion-ease-spatial);
 }
 :root:root .shared-contact-card .contact-card-actions>.contact-research{border-radius:20px 8px 8px 20px}
 :root:root .shared-contact-card .contact-card-actions>.contact-cv-toggle{
  --contact-action-rest-radius:8px 20px 20px 8px;
  border-radius:var(--contact-action-rest-radius);
  background:var(--button-bg);
  color:var(--button-fg);
 }
 :root:root .shared-contact-card.cv-contact-card .contact-card-actions{
  flex-wrap:nowrap;gap:2px;align-items:center;
 }
 :root:root .shared-contact-card.cv-contact-card .contact-card-actions>.button:not(.contact-cv-toggle){
  flex:1 1 0;width:auto;min-width:0;padding-inline:12px;
 }
 :root:root .shared-contact-card.cv-contact-card .contact-card-actions>.contact-cv-toggle{
  flex:0 0 52px;width:52px;min-width:52px;max-width:52px;margin-left:0;padding:0;
 }
 :root:root .shared-contact-card .contact-card-actions>.button:active{
  border-radius:12px;
  background:color-mix(in srgb,var(--green) 30%,var(--contact-card-surface));
  transform:none;translate:none;box-shadow:none;
 }
 /* The inserted Download action has a legacy pill radius in its motion frames. */
 :root:root .inline-contact-morph .contact-card-actions>.contact-cv-download{border-radius:8px!important}
}
@media(hover:hover) and (pointer:fine){
 :root:root .shared-contact-card .contact-card-actions>.button:hover:not(:active){
  background:color-mix(in srgb,var(--green) 22%,var(--contact-card-surface));
  transform:none;translate:none;box-shadow:none;filter:none;
 }
}
@media(prefers-reduced-motion:reduce){
 :root:root .shared-contact-card .contact-card-actions>.button{transition:none}
}
html[data-motion=reduce]:root:root .shared-contact-card .contact-card-actions>.button{transition:none}

@media screen{
 :root:root .shared-contact-card:not(.cv-contact-card):not(.inline-contact-morph) .contact-card-actions>.contact-cv-download{display:none}
}

@media screen{
 :root:root .shared-contact-card:not(.cv-contact-card):not(.inline-contact-morph) figcaption{padding-bottom:0}
 :root:root .shared-contact-card:not(.cv-contact-card):not(.inline-contact-morph) .contact-card-actions>.button{height:auto}
 :root:root .shared-contact-card .contact-card-actions>.contact-cv-toggle:is(:hover,:active){background:var(--button-bg);color:var(--button-fg)}
 :root:root .shared-contact-card .contact-card-actions>.contact-cv-toggle:active{filter:brightness(.96)}
}
