/* One action row across directory cards. Real DOM order is set by the behavior. */
html body .rc-site .rc-unified-card-actions.rc-unified-card-actions.rc-unified-card-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:8px!important;width:100%;box-sizing:border-box;margin-top:auto!important;padding-top:16px!important}
html body .rc-site .rc-unified-card-actions.rc-unified-card-actions.rc-unified-card-actions :is(a,button){display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;flex:0 0 auto!important;min-height:44px!important;height:44px!important;padding:10px 16px!important;margin:0!important;border:1px solid #d8dde3!important;border-radius:8px!important;background:#fff!important;color:#17191c!important;font:600 14px/1.3 Arial,sans-serif!important;text-decoration:none!important;cursor:pointer;box-shadow:none!important;white-space:nowrap}
html body .rc-site .rc-unified-card-actions.rc-unified-card-actions.rc-unified-card-actions :is(.rc-directory-card__save,.rc-directory-card__like,.rc-shared-save,.rc-shared-like,.rc-save-local){width:44px!important;min-width:44px!important;padding:10px!important}
html body .rc-site .rc-unified-card-actions.rc-unified-card-actions.rc-unified-card-actions svg{width:22px!important;height:22px!important;flex:none}
html body .rc-site .rc-unified-card-actions.rc-unified-card-actions.rc-unified-card-actions .rc-unified-primary,html body .rc-site .rc-unified-card-actions.rc-unified-card-actions.rc-unified-card-actions .rc-directory-card__details{background:#111!important;border-color:#111!important;color:#fff!important}
html body .rc-site .rc-unified-event-actions.rc-unified-event-actions.rc-unified-event-actions :is(.rc-directory-card__save,.rc-shared-save,.rc-save-local){border-color:transparent!important;background:transparent!important}
html body .rc-site .rc-unified-card-actions.rc-unified-card-actions.rc-unified-card-actions :is(a,button):hover{background:#f1f4f6!important;color:#111!important}
html body .rc-site .rc-unified-card-actions.rc-unified-card-actions.rc-unified-card-actions :is(a,button):focus-visible{outline:3px solid #087e8b!important;outline-offset:3px}
html body .rc-site .rc-unified-card-actions.rc-unified-card-actions.rc-unified-card-actions :is(button:disabled,[aria-disabled=true]){opacity:.55;cursor:wait}
html body .rc-site .rc-discovery-card{display:flex;flex-direction:column;box-sizing:border-box;height:100%}
html body .rc-site .rc-discovery-card .rc-discovery-copy{flex:1 1 auto}
html body .rc-site .rc-directory-card__footer{margin-top:auto!important;align-items:flex-end!important}
html body .rc-site .rc-directory-card__actions.rc-unified-card-actions.rc-unified-card-actions.rc-unified-card-actions{width:auto;max-width:100%;margin-left:auto!important}
/* The picture editor uses the same sizes and surfaces as directory actions. */
.ph-profile-dialog[data-ph-photo-editor]{width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}
.ph-profile-dialog[data-ph-photo-editor] [data-ph-modal-content]{padding:0}
.ph-profile-dialog[data-ph-photo-editor] iframe{height:min(560px,68dvh)}
.ph-profile-dialog .ph-profile-dialog-heading [data-ph-modal-close]{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #d8dde3;border-radius:8px;background:#fff;font:600 20px/1 Arial,sans-serif}
.ph-profile-dialog .ph-profile-dialog-footer button{min-height:44px;border-radius:8px;padding:10px 16px;font:600 14px/1.3 Arial,sans-serif}

/* Compact publication card footer and equal action controls. */
html body.rc-publication-directory .rc-site :is(.rc-discovery-card,article){min-height:0!important;height:auto!important;padding-bottom:16px!important}
html body.rc-publication-directory .rc-site :is(.rc-discovery-actions,.rc-platform-actions,.rc-record-actions,.rc-unified-card-actions){margin-top:12px!important;padding:12px 0 0!important;margin-bottom:0!important;min-height:0!important;align-items:center!important;gap:8px!important}
html body.rc-publication-directory .rc-site :is(.rc-discovery-actions,.rc-platform-actions,.rc-record-actions,.rc-unified-card-actions) :is(a,button){box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;padding:10px 16px!important;border-radius:8px!important;line-height:22px!important;font-size:14px!important}
html body.rc-publication-directory .rc-site :is(.rc-directory-card__save,.rc-shared-save,.rc-save-local){width:44px!important;min-width:44px!important;padding:10px!important}
