.ekfa-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.ekfa-title {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
}
.ekfa-subtitle {
  margin: 0 0 20px;
  color: #666;
}
.ekfa-form {
  display: grid;
  gap: 14px;
}
.ekfa-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ekfa-field {
  display: grid;
  gap: 7px;
  font-weight: 600;
}
.ekfa-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  background: #fff;
  color: #111;
}
.ekfa-field input:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.ekfa-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.ekfa-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s ease, opacity .16s ease;
}
.ekfa-button:hover,
.ekfa-button:focus {
  color: #fff;
  opacity: .9;
  transform: translateY(-1px);
}
.ekfa-button:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}
.ekfa-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  font-size: 14px;
}
.ekfa-links a {
  text-decoration: underline;
}
.ekfa-message {
  min-height: 20px;
  font-size: 14px;
}
.ekfa-message-success {
  color: #0a7f35;
}
.ekfa-message-error {
  color: #b32d2e;
}
.ekfa-message-info {
  color: #555;
}
@media (max-width: 600px) {
  .ekfa-card {
    padding: 20px;
  }
  .ekfa-grid {
    grid-template-columns: 1fr;
  }
}

.ekfa-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ekfa-editor-note {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px dashed rgba(0, 0, 0, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  color: #555;
  font-size: 13px;
  line-height: 1.4;
}


.ekfa-screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ekfa-field textarea,
.ekfa-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  background: #fff;
  color: #111;
  resize: vertical;
}
.ekfa-field textarea:focus,
.ekfa-field select:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.ekfa-button-secondary {
  background: #f3f4f6;
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.12);
}
.ekfa-button-secondary:hover,
.ekfa-button-secondary:focus {
  color: #111;
}
.ekfa-button-danger {
  color: #b32d2e;
}
.ekfa-portal {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.ekfa-portal-header {
  margin: 0 0 18px;
  text-align: center;
}
.ekfa-portal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 18px;
}
.ekfa-portal-tab {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-weight: 700;
}
.ekfa-portal-tab.is-active {
  background: #111;
  color: #fff;
}
.ekfa-portal-panels .ekfa-card {
  max-width: 100%;
}
.ekfa-portal-inline-links {
  justify-content: center;
}
.ekfa-profile-card-preview {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.025);
}
.ekfa-profile-card-preview.is-empty {
  opacity: .82;
}
.ekfa-profile-card-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}
.ekfa-profile-card-name {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.2;
}
.ekfa-profile-card-headline,
.ekfa-profile-card-bio {
  margin: 0 0 8px;
}
.ekfa-profile-card-headline {
  font-weight: 700;
}
.ekfa-profile-card-bio {
  color: #555;
}
.ekfa-profile-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 10px;
  font-size: 13px;
  color: #666;
}
.ekfa-profile-card-meta span:empty {
  display: none;
}
.ekfa-profile-card-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  word-break: break-word;
}
.ekfa-delete-card-form {
  margin-top: 14px;
}
.ekfa-access-denied {
  max-width: 620px;
}
@media (max-width: 600px) {
  .ekfa-profile-card-preview {
    grid-template-columns: 1fr;
  }
  .ekfa-portal-tabs {
    justify-content: flex-start;
  }
}

.ekfa-portal-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 12px;
}
.ekfa-portal-logout {
  width: auto;
  min-height: 38px;
  padding: 8px 16px;
  text-decoration: none;
}
