.en-directory-search { display: flex; align-items: end; gap: 12px; padding: 14px; border: 1px solid var(--en-line); border-radius: 18px; margin-bottom: 10px; animation: member-reveal 220ms var(--soft-spring, ease) both; }
.en-directory-search[hidden] { display: none; }
.en-directory-search label { display: grid; gap: 5px; flex: 0 0 145px; min-width: 0; }
.en-directory-search > input { flex: 1; min-width: 0; }
.en-directory-search > button { align-self: center; }
.en-directory-count { margin: 0 0 14px; min-height: 18px; }
#managementMemberGrid > .en-empty { grid-column: 1 / -1; }
#managementMemberGrid .en-member-card { position: relative; }
#managementMemberGrid .en-member-heading { padding-right: 35px; }
#managementMemberGrid .en-member-heading h3 { overflow-wrap: anywhere; }
.en-member-settings-button { position: absolute; z-index: 2; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; }
.en-member-settings-button svg { width: 19px; height: 19px; transition: transform 240ms ease; }
.en-member-settings-button:hover svg { transform: rotate(30deg); }
.en-member-id { color: var(--en-muted); font-size: 10px; overflow-wrap: anywhere; margin-top: -7px; }
.en-member-pin { display: inline-block; color: var(--blue-700); font-size: 10px; margin-left: 7px; }
.en-member-remark { margin: -4px 0 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--blue-300) 24%, transparent); font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.en-member-remark span { display: block; color: var(--en-muted); font-size: 10px; margin-bottom: 4px; }
.en-member-remark-input { resize: vertical; min-height: 110px; }
.en-member-setting-summary { display: flex; align-items: center; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid var(--en-line); margin-bottom: 10px; }
.en-member-setting-summary > div { min-width: 0; }
.en-member-setting-summary strong { overflow-wrap: anywhere; }
#enterpriseModal .en-dialog-head > div { min-width: 0; }
#enterpriseModal .en-dialog-head h2 { overflow-wrap: anywhere; }
#enterpriseModal .en-dialog-head > button { flex-shrink: 0; }
.en-member-setting-summary small { display: block; margin-top: 5px; color: var(--en-muted); font-size: 11px; overflow-wrap: anywhere; }
.en-member-settings-actions { display: grid; gap: 6px; }
.en-member-action-group { display: grid; gap: 6px; }
.en-member-action-group + .en-member-action-group { border-top: 1px solid var(--en-line); padding-top: 12px; margin-top: 8px; }
.en-member-action-group h3 { color: var(--en-muted); font-size: 11px; font-weight: 600; margin: 0; padding: 0 12px; }
.en-member-action { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 13px 12px; border: 1px solid transparent; border-radius: 13px; text-align: left; color: var(--accent-ink, var(--blue-900)); background: transparent; cursor: pointer; font: inherit; transition: background 180ms ease, border-color 180ms ease; }
.en-member-action > span { min-width: 0; }
.en-member-action strong { display: block; color: var(--blue-800); font-size: 14px; }
.en-member-action small { display: block; color: var(--en-muted); font-size: 11px; line-height: 1.6; margin-top: 3px; }
.en-member-action svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--blue-700); }
.en-member-action:hover, .en-member-action:focus-visible { background: var(--en-soft, rgba(255,255,255,.3)); border-color: var(--en-line); }
.en-member-action:disabled { opacity: .5; cursor: wait; }
.en-member-action.danger strong { color: #b8374e; }
#ownershipCode { font-variant-numeric: tabular-nums; letter-spacing: .3em; }
.en-ownership-target { overflow-wrap: anywhere; }
@keyframes member-reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  #managementView > .en-page-head { flex-direction: column; align-items: stretch; }
  #managementView > .en-page-head > .en-inline-actions { justify-content: flex-end; flex-wrap: nowrap; }
  .en-directory-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .en-directory-search label { grid-column: 1 / -1; }
  .en-directory-search > input { width: 100%; }
  .en-member-settings-button { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .en-directory-search { animation: none; } .en-member-settings-button svg, .en-member-action { transition: none; } }
